(self)
| 78 | return _load_json(self.candidate_file, []) |
| 79 | |
| 80 | def load_working_sources(self) -> List[Dict]: |
| 81 | if self.working_file.exists(): |
| 82 | return _load_json(self.working_file, []) |
| 83 | return _load_json(self.export_file, []) |
| 84 | |
| 85 | def _write_json(self, path: Path, payload) -> None: |
| 86 | path.parent.mkdir(parents=True, exist_ok=True) |