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

Method from_dict

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

Source from the content-addressed store, hash-verified

4191
4192 @staticmethod
4193 def from_dict(obj: Any) -> 'PendingPermissionRequest':
4194 assert isinstance(obj, dict)
4195 request = PermissionPromptRequest.from_dict(obj.get("request"))
4196 request_id = from_str(obj.get("requestId"))
4197 return PendingPermissionRequest(request, request_id)
4198
4199 def to_dict(self) -> dict:
4200 result: dict = {}

Callers

nothing calls this directly

Calls 4

from_strFunction · 0.70
from_dictMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected