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

Method to_dict

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

Source from the content-addressed store, hash-verified

1244 return _ConnectResult(ok, protocol_version, version)
1245
1246 def to_dict(self) -> dict:
1247 result: dict = {}
1248 result["ok"] = from_bool(self.ok)
1249 result["protocolVersion"] = from_int(self.protocol_version)
1250 result["version"] = from_str(self.version)
1251 return result
1252
1253# Experimental: this type is part of an experimental API and may change or be removed.
1254class ConnectedRemoteSessionMetadataKind(Enum):

Callers

nothing calls this directly

Calls 3

from_boolFunction · 0.70
from_intFunction · 0.70
from_strFunction · 0.70

Tested by

no test coverage detected