get_stage_by_name#

Processor.get_stage_by_name(name: str) → StatefulStage[source]#

Get a particular stage by its name. If the stage is not found, a ValueError will be raised.

Parameters:

name (str) – The stage name.

Returns:

The pipeline stage.

Return type:

StatefulStage