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

Method from_dict

python/copilot/generated/rpc.py:87–90  ·  view source on GitHub ↗
(obj: Any)

Source from the content-addressed store, hash-verified

85
86 @staticmethod
87 def from_dict(obj: Any) -> 'AbortRequest':
88 assert isinstance(obj, dict)
89 reason = from_union([AbortReason, from_none], obj.get("reason"))
90 return AbortRequest(reason)
91
92 def to_dict(self) -> dict:
93 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_unionFunction · 0.70
AbortRequestClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected