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

Method from_dict

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

Source from the content-addressed store, hash-verified

307
308 @staticmethod
309 def from_dict(obj: Any) -> 'AccountLoginRequest':
310 assert isinstance(obj, dict)
311 host = from_str(obj.get("host"))
312 login = from_str(obj.get("login"))
313 token = from_str(obj.get("token"))
314 return AccountLoginRequest(host, login, token)
315
316 def to_dict(self) -> dict:
317 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_strFunction · 0.70
AccountLoginRequestClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected