src.pipeline.handle.pipeline_decoration_handler

Classes

PipelineDecorationHandler(**kwargs)

class src.pipeline.handle.pipeline_decoration_handler.PipelineDecorationHandler(**kwargs)
Author:

Alberto M. Esmoris Pena

A handler for the extra logic needed by decorated components to work correctly.

See FPSDecoratorTransformer, FPSDecoratedModel, and FPSDecoratedMiner.

__init__(**kwargs)

Handles the initialization of a pipeline decoration handler for sequential pipelines.

Parameters:

kwargs – The attributes for the pipeline’s decoration handler.

handle_preprocess_decoration(state, comp, comp_id, comps)

Handle the decoration of the pipeline at the preprocess stage.

See PipelineExecutor, PipelineExecutor.__call__(), and PipelineExecutor.pre_process().

Returns:

Nothing, modifications (if needed) will happen in the received input objects directly.