(path: Path)
| 109 | |
| 110 | |
| 111 | def load_json(path: Path) -> Dict[str, Any]: |
| 112 | if not path.exists(): |
| 113 | return {} |
| 114 | payload = json.loads(path.read_text(encoding="utf-8")) |
| 115 | return payload if isinstance(payload, dict) else {} |
| 116 | |
| 117 | |
| 118 | def parse_string_list(raw_value: Any) -> List[str]: |
no outgoing calls
no test coverage detected