MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / _round_trip_command

Method _round_trip_command

tests/mock_server.py:391–394  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

389 self._caves_sock.send(bytes(cmd_array))
390
391 def _round_trip_command(self, cmd):
392 self._write_command(cmd)
393 resp = self._read_command()
394 return resp
395
396 def _recv(self, timeout=2, end=b'\x00'):
397 self._caves_sock.setblocking(0)

Callers 1

create_clusterMethod · 0.95

Calls 2

_write_commandMethod · 0.95
_read_commandMethod · 0.95

Tested by

no test coverage detected