PipelineStep#

class PipelineStep[исходный код]#

Базовые классы: ABC

Abstract base class for a single processing step in an iterative pipeline.

Переменные:

available_next_steps (list[type[PipelineStep]]) – Valid step types that may immediately follow this step.

Methods

run(state)

Execute the step on the given pipeline state and return the updated state.

clear_after_prune(removed_components_indices)

Clean up step internal state for components removed during pruning.

reset()

Return the step to its post-constructor state.