MCPcopy Index your code
hub / github.com/github/copilot-sdk / from_dict

Method from_dict

python/copilot/generated/rpc.py:2153–2156  ·  view source on GitHub ↗
(obj: Any)

Source from the content-addressed store, hash-verified

2151
2152 @staticmethod
2153 def from_dict(obj: Any) -> 'HistoryTruncateResult':
2154 assert isinstance(obj, dict)
2155 events_removed = from_int(obj.get("eventsRemoved"))
2156 return HistoryTruncateResult(events_removed)
2157
2158 def to_dict(self) -> dict:
2159 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_intFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected