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

Method from_dict

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

Source from the content-addressed store, hash-verified

690
691 @staticmethod
692 def from_dict(obj: Any) -> 'CanvasActionInvokeRequest':
693 assert isinstance(obj, dict)
694 action_name = from_str(obj.get("actionName"))
695 instance_id = from_str(obj.get("instanceId"))
696 input = obj.get("input")
697 return CanvasActionInvokeRequest(action_name, instance_id, input)
698
699 def to_dict(self) -> dict:
700 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_strFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected