(path: Path)
| 89 | |
| 90 | |
| 91 | def load_json(path: Path) -> Dict[str, Any]: |
| 92 | if not path.exists(): |
| 93 | return {} |
| 94 | payload = json.loads(path.read_text(encoding="utf-8")) |
| 95 | return payload if isinstance(payload, dict) else {} |
| 96 | |
| 97 | |
| 98 | def parse_string_list(raw_value: Any) -> List[str]: |
no outgoing calls
no test coverage detected