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

Class BatchExtractor

explainshell/extraction/llm/extractor.py:165–175  ·  view source on GitHub ↗

Extractor that supports batch execution via a provider API.

Source from the content-addressed store, hash-verified

163
164@runtime_checkable
165class BatchExtractor(Extractor, Protocol):
166 """Extractor that supports batch execution via a provider API."""
167
168 @property
169 def batch_provider(self) -> BatchProvider: ...
170
171 def prepare(self, gz_path: str) -> PreparedFile: ...
172
173 def finalize(
174 self, gz_path: str, prepared: PreparedFile, responses: list[str]
175 ) -> ExtractionResult: ...
176
177
178@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected