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

Class UnknownFrame

python/src/cmdop/streaming.py:98–102  ·  view source on GitHub ↗

Forward-compat: a frame whose shape we do not model yet.

Source from the content-addressed store, hash-verified

96 arm = item.WhichOneof("payload")
97 if arm == "ask_event":
98 payload: Any = item.ask_event.payload_json
99 try:
100 payload = json.loads(payload)
101 except (TypeError, ValueError):
102 pass
103 yield EventFrame(
104 "event",
105 int(item.ask_event.event_type),

Callers 1

_frame_from_envelopeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected