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

Method to_dict

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

Source from the content-addressed store, hash-verified

2232 return InstructionsDiscoverRequest(exclude_host_instructions, project_paths)
2233
2234 def to_dict(self) -> dict:
2235 result: dict = {}
2236 if self.exclude_host_instructions is not None:
2237 result["excludeHostInstructions"] = from_union([from_bool, from_none], self.exclude_host_instructions)
2238 if self.project_paths is not None:
2239 result["projectPaths"] = from_union([lambda x: from_list(from_str, x), from_none], self.project_paths)
2240 return result
2241
2242# Experimental: this type is part of an experimental API and may change or be removed.
2243@dataclass

Callers

nothing calls this directly

Calls 2

from_unionFunction · 0.70
from_listFunction · 0.70

Tested by

no test coverage detected