olaf.pipeline.pipeline_component package

Subpackages

Submodules

olaf.pipeline.pipeline_component.pipeline_component_schema module

class olaf.pipeline.pipeline_component.pipeline_component_schema.PipelineComponent[source]

Bases: ABC

A pipeline component is part of a pipeline performing one specific task.

abstract check_resources() None[source]

Method to check that the component has access to all its required resources.

abstract get_performance_report() Dict[str, Any][source]
A getter for the pipeline component performance report.

If the component has been optimised, it only returns the best performance. Otherwise, it returns the results obtained with the set parameters.

Returns

Dict[str, Any]

The pipeline component performance report.

abstract optimise() None[source]

A method to optimise the pipeline component by tuning the options.

abstract run(pipeline: Pipeline) None[source]

Method that is responsible for the execution of the component.

Parameters

pipelinePipeline

The pipeline running

Module contents