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

Method to_dict

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

Source from the content-addressed store, hash-verified

541 return AgentsDiscoverRequest(exclude_host_agents, project_paths)
542
543 def to_dict(self) -> dict:
544 result: dict = {}
545 if self.exclude_host_agents is not None:
546 result["excludeHostAgents"] = from_union([from_bool, from_none], self.exclude_host_agents)
547 if self.project_paths is not None:
548 result["projectPaths"] = from_union([lambda x: from_list(from_str, x), from_none], self.project_paths)
549 return result
550
551# Experimental: this type is part of an experimental API and may change or be removed.
552@dataclass

Callers

nothing calls this directly

Calls 2

from_unionFunction · 0.70
from_listFunction · 0.70

Tested by

no test coverage detected