MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / __init__

Method __init__

python/tests/test_transport.py:58–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56
57def _feed(process: _Process, envelope: pb.Envelope) -> None:
58 data = envelope.SerializeToString()
59 process.stdout.feed_data(_VarintBytes(len(data)) + data)
60
61
62async def _request(process: _Process) -> pb.Envelope:
63 return pb.Envelope.FromString(await _read_delimited(process.requests))
64
65
66@pytest.mark.asyncio
67async def test_unary_round_trip_and_error_mapping() -> None:

Callers

nothing calls this directly

Calls 1

_CaptureWriterClass · 0.70

Tested by

no test coverage detected