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

Method to_dict

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

Source from the content-addressed store, hash-verified

4197 return PendingPermissionRequest(request, request_id)
4198
4199 def to_dict(self) -> dict:
4200 result: dict = {}
4201 result["request"] = to_class(PermissionPromptRequest, self.request)
4202 result["requestId"] = from_str(self.request_id)
4203 return result
4204
4205class ApprovalKind(Enum):
4206 COMMANDS = "commands"

Callers

nothing calls this directly

Calls 2

to_classFunction · 0.70
from_strFunction · 0.70

Tested by

no test coverage detected