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

Method from_dict

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

Source from the content-addressed store, hash-verified

16379
16380 @staticmethod
16381 def from_dict(obj: Any) -> 'UIElicitationResponse':
16382 assert isinstance(obj, dict)
16383 action = UIElicitationResponseAction(obj.get("action"))
16384 content = from_union([lambda x: from_dict(lambda x: from_union([from_float, from_bool, lambda x: from_list(from_str, x), from_str], x), x), from_none], obj.get("content"))
16385 return UIElicitationResponse(action, content)
16386
16387 def to_dict(self) -> dict:
16388 result: dict = {}

Callers

nothing calls this directly

Calls 6

from_unionFunction · 0.70
from_dictFunction · 0.70
from_listFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected