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

Method to_dict

python/copilot/generated/rpc.py:4320–4324  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4318 return PermissionDecisionRequest(request_id, result)
4319
4320 def to_dict(self) -> dict:
4321 result: dict = {}
4322 result["requestId"] = from_str(self.request_id)
4323 result["result"] = (self.result).to_dict()
4324 return result
4325
4326class PermissionDecisionUserNotAvailableKind(Enum):
4327 USER_NOT_AVAILABLE = "user-not-available"

Callers

nothing calls this directly

Calls 2

from_strFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected