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

Method from_dict

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

Source from the content-addressed store, hash-verified

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 = {}

Callers

nothing calls this directly

Calls 3

from_strFunction · 0.70
CanvasCloseRequestClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected