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

Method from_dict

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

Source from the content-addressed store, hash-verified

178
179 @staticmethod
180 def from_dict(obj: Any) -> 'AccountAllUsers':
181 assert isinstance(obj, dict)
182 auth_info = _load_AuthInfo(obj.get("authInfo"))
183 token = from_union([from_str, from_none], obj.get("token"))
184 return AccountAllUsers(auth_info, token)
185
186 def to_dict(self) -> dict:
187 result: dict = {}

Callers

nothing calls this directly

Calls 4

_load_AuthInfoFunction · 0.85
from_unionFunction · 0.70
AccountAllUsersClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected