February 2018
Intermediate to advanced
456 pages
9h 56m
English
In our MessageService class, simply add:
@rpc
def get_all_messages(self):
messages = self.message_store.get_all_messages()
return messages
I'm sure that by now, I probably do not need to explain what is going on here! We are simply calling the method we made earlier in our Redis dependency and returning the result.
Read now
Unlock full access