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

Method from_dict

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

Source from the content-addressed store, hash-verified

371
372 @staticmethod
373 def from_dict(obj: Any) -> 'AccountLogoutResult':
374 assert isinstance(obj, dict)
375 has_more_users = from_bool(obj.get("hasMoreUsers"))
376 return AccountLogoutResult(has_more_users)
377
378 def to_dict(self) -> dict:
379 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_boolFunction · 0.70
AccountLogoutResultClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected