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

Method to_dict

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

Source from the content-addressed store, hash-verified

697 return CanvasActionInvokeRequest(action_name, instance_id, input)
698
699 def to_dict(self) -> dict:
700 result: dict = {}
701 result["actionName"] = from_str(self.action_name)
702 result["instanceId"] = from_str(self.instance_id)
703 if self.input is not None:
704 result["input"] = self.input
705 return result
706
707# Experimental: this type is part of an experimental API and may change or be removed.
708@dataclass

Callers

nothing calls this directly

Calls 1

from_strFunction · 0.70

Tested by

no test coverage detected