(self, path: Path, payload)
| 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) |
| 87 | with open(path, "w", encoding="utf-8") as f: |
| 88 | json.dump(payload, f, ensure_ascii=False, indent=2) |
| 89 | |
| 90 | def _stage_json(self, path: Path, payload) -> Path: |
| 91 | path.parent.mkdir(parents=True, exist_ok=True) |
no outgoing calls
no test coverage detected