MCPcopy Create free account
hub / github.com/idank/explainshell / BatchManifestWriter

Class BatchManifestWriter

explainshell/extraction/manifest.py:37–49  ·  view source on GitHub ↗

Protocol for batch manifest writers used by the runner.

Source from the content-addressed store, hash-verified

35
36
37class 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
52class FileBatchManifestWriter:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected