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

Method call_unary

python/src/cmdop/_transport.py:269–284  ·  view source on GitHub ↗

Send a REQUEST envelope, await the RESPONSE/ERROR on its id. ``req`` must already carry ``kind=KIND_REQUEST`` and the right oneof arm; ``id`` is assigned here. Returns the response Envelope (caller reads the typed arm); raises a typed :class:`CmdopError` on an ERROR frame.

(self, req: pb.Envelope)

Source from the content-addressed store, hash-verified

Calls 5

_ensure_startedMethod · 0.95
_alloc_idMethod · 0.95
_writeMethod · 0.95
_UnaryPendingClass · 0.85
drainMethod · 0.45