nirs4all.pipeline.execution.result module
Result types for pipeline execution.
- class nirs4all.pipeline.execution.result.ArtifactMeta(name: str, content_hash: str, path: str, format: str, format_version: str = '', nirs4all_version: str = '', metadata: Dict[str, ~typing.Any]=<factory>)[source]
Bases:
objectMetadata about a persisted artifact.
- class nirs4all.pipeline.execution.result.StepOutput(artifacts: Any, str, str | None]]=<factory>, outputs: Any, str, str]]=<factory>, metadata: Dict[str, ~typing.Any]=<factory>)[source]
Bases:
objectStandardized output from a controller execution.
- artifacts
Internal binaries (models, transformers) to be persisted for reproducibility. List of tuples: (object, name, format_hint).
- outputs
User outputs (charts, reports) to be saved as files. List of tuples: (data_object, filename_hint, type_hint).
- class nirs4all.pipeline.execution.result.StepResult(updated_context: ExecutionContext, artifacts: List[Any] = <factory>, outputs: List[Any] = <factory>, predictions: Predictions | None = None)[source]
Bases:
objectResult of executing a single pipeline step.
- updated_context
Updated execution context after step
- artifacts
List of artifacts persisted during step execution
- Type:
List[Any]
- outputs
List of output files saved during step execution
- Type:
List[Any]
- predictions
Optional predictions generated by this step
- Type:
- predictions: Predictions | None = None
- updated_context: ExecutionContext