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

Method to_dict

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

Source from the content-addressed store, hash-verified

6279 return SendAttachmentsToMessageParams(attachments, instance_id)
6280
6281 def to_dict(self) -> dict:
6282 result: dict = {}
6283 result["attachments"] = from_list(lambda x: (x).to_dict(), self.attachments)
6284 if self.instance_id is not None:
6285 result["instanceId"] = from_union([from_str, from_none], self.instance_id)
6286 return result
6287
6288# Experimental: this type is part of an experimental API and may change or be removed.
6289class SendMode(Enum):

Callers

nothing calls this directly

Calls 3

from_listFunction · 0.70
from_unionFunction · 0.70
to_dictMethod · 0.45

Tested by

no test coverage detected