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

Method from_dict

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

Source from the content-addressed store, hash-verified

132
133 @staticmethod
134 def from_dict(obj: Any) -> 'CopilotUserResponseEndpoints':
135 assert isinstance(obj, dict)
136 api = from_union([from_str, from_none], obj.get("api"))
137 origin_tracker = from_union([from_str, from_none], obj.get("origin-tracker"))
138 proxy = from_union([from_str, from_none], obj.get("proxy"))
139 telemetry = from_union([from_str, from_none], obj.get("telemetry"))
140 return CopilotUserResponseEndpoints(api, origin_tracker, proxy, telemetry)
141
142 def to_dict(self) -> dict:
143 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_unionFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected