MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / _write

Method _write

python/src/cmdop/_transport.py:254–258  ·  view source on GitHub ↗
(self, env: pb.Envelope)

Source from the content-addressed store, hash-verified

252 return i
253
254 def _write(self, env: pb.Envelope) -> None:
255 proc = self._proc
256 if proc is None or proc.stdin is None:
257 raise CmdopConnectionError("cmdop-core not running")
258 _write_delimited(proc.stdin, env)
259
260 async def write_answer(self, env: pb.Envelope) -> None:
261 """Write an ANSWER envelope (pin/confirm) on an open stream's id."""

Callers 3

write_answerMethod · 0.95
call_unaryMethod · 0.95
_start_streamMethod · 0.95

Calls 1

_write_delimitedFunction · 0.85

Tested by

no test coverage detected