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

Method from_dict

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

Source from the content-addressed store, hash-verified

333
334 @staticmethod
335 def from_dict(obj: Any) -> 'AccountLoginResult':
336 assert isinstance(obj, dict)
337 stored_in_vault = from_bool(obj.get("storedInVault"))
338 return AccountLoginResult(stored_in_vault)
339
340 def to_dict(self) -> dict:
341 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_boolFunction · 0.70
AccountLoginResultClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected