(path: Path)
| 158 | |
| 159 | |
| 160 | def load_json(path: Path) -> Dict[str, Any]: |
| 161 | if not path.exists(): |
| 162 | return {} |
| 163 | payload = json.loads(path.read_text(encoding="utf-8")) |
| 164 | return payload if isinstance(payload, dict) else {} |
| 165 | |
| 166 | |
| 167 | def parse_string_list(raw_value: Any) -> List[str]: |
no outgoing calls
no test coverage detected