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

Method to_dict

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

Source from the content-addressed store, hash-verified

140 return CopilotUserResponseEndpoints(api, origin_tracker, proxy, telemetry)
141
142 def to_dict(self) -> dict:
143 result: dict = {}
144 if self.api is not None:
145 result["api"] = from_union([from_str, from_none], self.api)
146 if self.origin_tracker is not None:
147 result["origin-tracker"] = from_union([from_str, from_none], self.origin_tracker)
148 if self.proxy is not None:
149 result["proxy"] = from_union([from_str, from_none], self.proxy)
150 if self.telemetry is not None:
151 result["telemetry"] = from_union([from_str, from_none], self.telemetry)
152 return result
153
154# Experimental: this type is part of an experimental API and may change or be removed.
155class AuthInfoType(Enum):

Callers

nothing calls this directly

Calls 1

from_unionFunction · 0.70

Tested by

no test coverage detected