MCPcopy Create free account
hub / github.com/mysql/mysql-connector-python / sendall

Method sendall

mysql-connector-python/tests/__init__.py:193–195  ·  view source on GitHub ↗
(self, string, flags=0)

Source from the content-addressed store, hash-verified

191 return len(string)
192
193 def sendall(self, string, flags=0):
194 self._client_sends.append(bytearray(string))
195 return None
196
197 def add_packet(self, packet):
198 self._server_replies += packet

Callers 1

_send_pktMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected