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

Method to_dict

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

Source from the content-addressed store, hash-verified

314 return AccountLoginRequest(host, login, token)
315
316 def to_dict(self) -> dict:
317 result: dict = {}
318 result["host"] = from_str(self.host)
319 result["login"] = from_str(self.login)
320 result["token"] = from_str(self.token)
321 return result
322
323# Experimental: this type is part of an experimental API and may change or be removed.
324@dataclass

Callers

nothing calls this directly

Calls 1

from_strFunction · 0.70

Tested by

no test coverage detected