(obj: Any)
| 10902 | |
| 10903 | @staticmethod |
| 10904 | def from_dict(obj: Any) -> 'InstructionDiscoveryPath': |
| 10905 | assert isinstance(obj, dict) |
| 10906 | kind = InstructionDiscoveryPathKind(obj.get("kind")) |
| 10907 | location = InstructionLocation(obj.get("location")) |
| 10908 | path = from_str(obj.get("path")) |
| 10909 | preferred_for_creation = from_bool(obj.get("preferredForCreation")) |
| 10910 | project_path = from_union([from_str, from_none], obj.get("projectPath")) |
| 10911 | return InstructionDiscoveryPath(kind, location, path, preferred_for_creation, project_path) |
| 10912 | |
| 10913 | def to_dict(self) -> dict: |
| 10914 | result: dict = {} |
nothing calls this directly
no test coverage detected