MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / to_dict

Method to_dict

uncommon_route/telemetry.py:59–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 embedding: list[float] | None = None
58
59 def to_dict(self) -> dict[str, Any]:
60 d = asdict(self)
61 # Remove None embedding to save space
62 if d["embedding"] is None:
63 del d["embedding"]
64 return d
65
66
67# ─── Opt-In Logic ───

Callers 4

test_record_to_dictFunction · 0.95
buffer_recordFunction · 0.45
handle_healthFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_record_to_dictFunction · 0.76