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

Method to_dict

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

Source from the content-addressed store, hash-verified

114 return AbortResult(success, error)
115
116 def to_dict(self) -> dict:
117 result: dict = {}
118 result["success"] = from_bool(self.success)
119 if self.error is not None:
120 result["error"] = from_union([from_str, from_none], self.error)
121 return result
122
123# Experimental: this type is part of an experimental API and may change or be removed.
124@dataclass

Callers

nothing calls this directly

Calls 2

from_boolFunction · 0.70
from_unionFunction · 0.70

Tested by

no test coverage detected