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

Method from_dict

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

Source from the content-addressed store, hash-verified

4312
4313 @staticmethod
4314 def from_dict(obj: Any) -> 'PermissionDecisionRequest':
4315 assert isinstance(obj, dict)
4316 request_id = from_str(obj.get("requestId"))
4317 result = _load_PermissionDecision(obj.get("result"))
4318 return PermissionDecisionRequest(request_id, result)
4319
4320 def to_dict(self) -> dict:
4321 result: dict = {}

Callers

nothing calls this directly

Calls 4

_load_PermissionDecisionFunction · 0.85
from_strFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected