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

Method from_dict

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

Source from the content-addressed store, hash-verified

535
536 @staticmethod
537 def from_dict(obj: Any) -> 'AgentsDiscoverRequest':
538 assert isinstance(obj, dict)
539 exclude_host_agents = from_union([from_bool, from_none], obj.get("excludeHostAgents"))
540 project_paths = from_union([lambda x: from_list(from_str, x), from_none], obj.get("projectPaths"))
541 return AgentsDiscoverRequest(exclude_host_agents, project_paths)
542
543 def to_dict(self) -> dict:
544 result: dict = {}

Callers

nothing calls this directly

Calls 4

from_unionFunction · 0.70
from_listFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected