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

Method to_dict

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

Source from the content-addressed store, hash-verified

184 return AccountAllUsers(auth_info, token)
185
186 def to_dict(self) -> dict:
187 result: dict = {}
188 result["authInfo"] = (self.auth_info).to_dict()
189 if self.token is not None:
190 result["token"] = from_union([from_str, from_none], self.token)
191 return result
192
193# Experimental: this type is part of an experimental API and may change or be removed.
194@dataclass

Callers

nothing calls this directly

Calls 2

from_unionFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected