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

Method from_dict

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

Source from the content-addressed store, hash-verified

226
227 @staticmethod
228 def from_dict(obj: Any) -> 'AccountGetQuotaRequest':
229 assert isinstance(obj, dict)
230 git_hub_token = from_union([from_str, from_none], obj.get("gitHubToken"))
231 return AccountGetQuotaRequest(git_hub_token)
232
233 def to_dict(self) -> dict:
234 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_unionFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected