MCPcopy Create free account
hub / github.com/github/copilot-sdk / to_dict

Method to_dict

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

Source from the content-addressed store, hash-verified

1100 return CompletionsRequestRequest(offset, text)
1101
1102 def to_dict(self) -> dict:
1103 result: dict = {}
1104 result["offset"] = from_int(self.offset)
1105 result["text"] = from_str(self.text)
1106 return result
1107
1108# Experimental: this type is part of an experimental API and may change or be removed.
1109@dataclass

Callers

nothing calls this directly

Calls 2

from_intFunction · 0.70
from_strFunction · 0.70

Tested by

no test coverage detected