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

Method to_dict

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

Source from the content-addressed store, hash-verified

7082 return SessionSetCredentialsParams(credentials)
7083
7084 def to_dict(self) -> dict:
7085 result: dict = {}
7086 if self.credentials is not None:
7087 result["credentials"] = from_union([lambda x: (x).to_dict(), from_none], self.credentials)
7088 return result
7089
7090# Experimental: this type is part of an experimental API and may change or be removed.
7091@dataclass

Callers

nothing calls this directly

Calls 2

from_unionFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected