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

Method to_dict

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

Source from the content-addressed store, hash-verified

10098 return CompletionsRequestResult(items)
10099
10100 def to_dict(self) -> dict:
10101 result: dict = {}
10102 result["items"] = from_list(lambda x: to_class(SessionCompletionItem, x), self.items)
10103 return result
10104
10105# Experimental: this type is part of an experimental API and may change or be removed.
10106@dataclass

Callers

nothing calls this directly

Calls 2

from_listFunction · 0.70
to_classFunction · 0.70

Tested by

no test coverage detected