MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / make_msg

Method make_msg

tests/unit/io/utils.py:234–235  ·  view source on GitHub ↗
(self, header, body=bytes())

Source from the content-addressed store, hash-verified

232 return buf.getvalue()
233
234 def make_msg(self, header, body=bytes()):
235 return header + uint32_pack(len(body)) + body
236
237 def test_successful_connection(self):
238 c = self.make_connection()

Calls

no outgoing calls