Protocol for batch manifest writers used by the runner.
| 35 | |
| 36 | |
| 37 | class BatchManifestWriter(Protocol): |
| 38 | """Protocol for batch manifest writers used by the runner.""" |
| 39 | |
| 40 | def set_total_batches(self, n: int) -> None: ... |
| 41 | |
| 42 | def record_batch( |
| 43 | self, |
| 44 | batch_idx: int, |
| 45 | batch_id: str | None, |
| 46 | status: Literal["submitted", "completed", "failed"], |
| 47 | files: list[str], |
| 48 | error: str | None = None, |
| 49 | ) -> None: ... |
| 50 | |
| 51 | |
| 52 | class FileBatchManifestWriter: |
nothing calls this directly
no outgoing calls
no test coverage detected