MCPcopy Create free account
hub / github.com/github/copilot-sdk / from_dict

Method from_dict

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

Source from the content-addressed store, hash-verified

5390
5391 @staticmethod
5392 def from_dict(obj: Any) -> 'ProviderTokenAcquireResult':
5393 assert isinstance(obj, dict)
5394 token = from_str(obj.get("token"))
5395 return ProviderTokenAcquireResult(token)
5396
5397 def to_dict(self) -> dict:
5398 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_strFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected