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

Method from_dict

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

Source from the content-addressed store, hash-verified

6407
6408 @staticmethod
6409 def from_dict(obj: Any) -> 'SessionBulkDeleteResult':
6410 assert isinstance(obj, dict)
6411 freed_bytes = from_dict(from_int, obj.get("freedBytes"))
6412 return SessionBulkDeleteResult(freed_bytes)
6413
6414 def to_dict(self) -> dict:
6415 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_dictFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected