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