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

Method to_dict

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

Source from the content-addressed store, hash-verified

570 return AgentsGetDiscoveryPathsRequest(exclude_host_agents, project_paths)
571
572 def to_dict(self) -> dict:
573 result: dict = {}
574 if self.exclude_host_agents is not None:
575 result["excludeHostAgents"] = from_union([from_bool, from_none], self.exclude_host_agents)
576 if self.project_paths is not None:
577 result["projectPaths"] = from_union([lambda x: from_list(from_str, x), from_none], self.project_paths)
578 return result
579
580# Experimental: this type is part of an experimental API and may change or be removed.
581@dataclass

Callers

nothing calls this directly

Calls 2

from_unionFunction · 0.70
from_listFunction · 0.70

Tested by

no test coverage detected