MCPcopy
hub / github.com/redis/redis-py / make_message

Method make_message

tests/test_pubsub.py:896–897  ·  view source on GitHub ↗
(self, type, channel, data, pattern=None)

Source from the content-addressed store, hash-verified

894 data = "abc" + chr(4458) + "123"
895
896 def make_message(self, type, channel, data, pattern=None):
897 return {"type": type, "channel": channel, "pattern": pattern, "data": data}
898
899 def setup_method(self, method):
900 self.message = None

Calls

no outgoing calls

Tested by

no test coverage detected