(obj: Any)
| 2226 | |
| 2227 | @staticmethod |
| 2228 | def from_dict(obj: Any) -> 'InstructionsDiscoverRequest': |
| 2229 | assert isinstance(obj, dict) |
| 2230 | exclude_host_instructions = from_union([from_bool, from_none], obj.get("excludeHostInstructions")) |
| 2231 | project_paths = from_union([lambda x: from_list(from_str, x), from_none], obj.get("projectPaths")) |
| 2232 | return InstructionsDiscoverRequest(exclude_host_instructions, project_paths) |
| 2233 | |
| 2234 | def to_dict(self) -> dict: |
| 2235 | result: dict = {} |
nothing calls this directly
no test coverage detected