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

Class DoneFrame

python/src/cmdop/streaming.py:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58def _optional(message: Any, name: str) -> Any | None:
59 return getattr(message, name) if message.HasField(name) else None
60
61
62def _stream_error_code(code: int) -> str:
63 return pb.AskStreamErrorCode.Name(code).removeprefix(
64 "ASK_STREAM_ERROR_CODE_"
65 ).lower()
66
67
68class AskStream:

Callers 1

_frame_from_envelopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected