(path: Path)
| 62 | |
| 63 | |
| 64 | def load_json(path: Path) -> Dict[str, Any]: |
| 65 | if not path.exists(): |
| 66 | return {} |
| 67 | payload = json.loads(path.read_text(encoding="utf-8")) |
| 68 | return payload if isinstance(payload, dict) else {} |
| 69 | |
| 70 | |
| 71 | def parse_string_list(raw_value: Any) -> List[str]: |
no outgoing calls
no test coverage detected