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

Method from_dict

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

Source from the content-addressed store, hash-verified

1210
1211 @staticmethod
1212 def from_dict(obj: Any) -> '_ConnectRequest':
1213 assert isinstance(obj, dict)
1214 token = from_union([from_str, from_none], obj.get("token"))
1215 return _ConnectRequest(token)
1216
1217 def to_dict(self) -> dict:
1218 result: dict = {}

Callers

nothing calls this directly

Calls 3

_ConnectRequestClass · 0.85
from_unionFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected