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

Method from_dict

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

Source from the content-addressed store, hash-verified

17940
17941 @staticmethod
17942 def from_dict(obj: Any) -> 'MCPOauthHandlePendingRequest':
17943 assert isinstance(obj, dict)
17944 request_id = from_str(obj.get("requestId"))
17945 result = MCPOauthPendingRequestResponse.from_dict(obj.get("result"))
17946 return MCPOauthHandlePendingRequest(request_id, result)
17947
17948 def to_dict(self) -> dict:
17949 result: dict = {}

Callers

nothing calls this directly

Calls 4

from_strFunction · 0.70
getMethod · 0.45
from_dictMethod · 0.45

Tested by

no test coverage detected