No-op BatchManifestWriter that discards all calls.
| 33 | |
| 34 | |
| 35 | class _NullBatchManifestWriter: |
| 36 | """No-op BatchManifestWriter that discards all calls.""" |
| 37 | |
| 38 | def set_total_batches(self, n: int) -> None: |
| 39 | pass |
| 40 | |
| 41 | def record_batch( |
| 42 | self, |
| 43 | batch_idx: int, |
| 44 | batch_id: str | None, |
| 45 | status: Literal["submitted", "completed", "failed"], |
| 46 | files: list[str], |
| 47 | error: str | None = None, |
| 48 | ) -> None: |
| 49 | pass |
| 50 | |
| 51 | |
| 52 | class _InflightBatches: |
no outgoing calls