MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / send

Method send

tests/test_daemon_smoke.py:391–398  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

389 self.condition.notify_all()
390
391 def send(self, value):
392 check(self.process.stdin is not None, "client stdin is already closed")
393 payload = json.dumps(value, separators=(",", ":"))
394 try:
395 self.process.stdin.write(payload + "\n")
396 self.process.stdin.flush()
397 except (BrokenPipeError, OSError) as exc:
398 raise SmokeFailure("thin client closed while sending: " + str(exc)) from exc
399
400 def wait_response(self, request_id, timeout=START_TIMEOUT):
401 deadline = time.monotonic() + timeout

Callers 2

start_ready_mcp_clientFunction · 0.95
mainFunction · 0.95

Calls 2

checkFunction · 0.70
SmokeFailureClass · 0.70

Tested by

no test coverage detected