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

Method to_dict

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

Source from the content-addressed store, hash-verified

3753 return ModeSetRequest(mode)
3754
3755 def to_dict(self) -> dict:
3756 result: dict = {}
3757 result["mode"] = to_enum(SessionMode, self.mode)
3758 return result
3759
3760# Experimental: this type is part of an experimental API and may change or be removed.
3761@dataclass

Callers

nothing calls this directly

Calls 1

to_enumFunction · 0.70

Tested by

no test coverage detected