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

Method to_dict

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

Source from the content-addressed store, hash-verified

9915 return CanvasListOpenResult(open_canvases)
9916
9917 def to_dict(self) -> dict:
9918 result: dict = {}
9919 result["openCanvases"] = from_list(lambda x: to_class(OpenCanvasInstance, x), self.open_canvases)
9920 return result
9921
9922# Experimental: this type is part of an experimental API and may change or be removed.
9923@dataclass

Callers

nothing calls this directly

Calls 2

from_listFunction · 0.70
to_classFunction · 0.70

Tested by

no test coverage detected