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

Class CanvasCloseRequest

python/copilot/generated/rpc.py:709–724  ·  view source on GitHub ↗

Canvas close parameters.

Source from the content-addressed store, hash-verified

707# Experimental: this type is part of an experimental API and may change or be removed.
708@dataclass
709class CanvasCloseRequest:
710 """Canvas close parameters."""
711
712 instance_id: str
713 """Open canvas instance identifier"""
714
715 @staticmethod
716 def from_dict(obj: Any) -> 'CanvasCloseRequest':
717 assert isinstance(obj, dict)
718 instance_id = from_str(obj.get("instanceId"))
719 return CanvasCloseRequest(instance_id)
720
721 def to_dict(self) -> dict:
722 result: dict = {}
723 result["instanceId"] = from_str(self.instance_id)
724 return result
725
726# Experimental: this type is part of an experimental API and may change or be removed.
727@dataclass

Callers 2

from_dictMethod · 0.70

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…