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

Method from_dict

python/copilot/generated/rpc.py:3750–3753  ·  view source on GitHub ↗
(obj: Any)

Source from the content-addressed store, hash-verified

3748
3749 @staticmethod
3750 def from_dict(obj: Any) -> 'ModeSetRequest':
3751 assert isinstance(obj, dict)
3752 mode = SessionMode(obj.get("mode"))
3753 return ModeSetRequest(mode)
3754
3755 def to_dict(self) -> dict:
3756 result: dict = {}

Callers

nothing calls this directly

Calls 3

SessionModeClass · 0.70
ModeSetRequestClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected