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

Method to_dict

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

Source from the content-addressed store, hash-verified

6864 return SessionList(sessions)
6865
6866 def to_dict(self) -> dict:
6867 result: dict = {}
6868 result["sessions"] = from_list(lambda x: (x).to_dict(), self.sessions)
6869 return result
6870
6871# Experimental: this type is part of an experimental API and may change or be removed.
6872@dataclass

Callers

nothing calls this directly

Calls 2

from_listFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected