spdl.pipeline.defs.PipelineConfig

class PipelineConfig(src: SourceConfig[Any] | MergeConfig, pipes: Sequence[PipeConfig[Any, Any] | AggregateConfig[Any] | DisaggregateConfig[Any] | PathVariantsConfig[Any] | _SubprocessPipelineConfig | PlacementConfig], sink: SinkConfig[_ConfigOutput])[source]

A pipeline configuration.

A pipeline consists of source, a series of pipes and sink. The heterogeneous stage list does not infer the final output type. Unparameterized configurations retain dynamic output types; parameterize or annotate the configuration when an explicit output type is needed.

You can use spdl.pipeline.build_pipeline() to build a spdl.pipeline.Pipeline object.

See also

Example: Pipeline definitions

Illustrates how to build a complex pipeline.

Attributes

src

Source configuration.

pipes

Pipe configurations.

sink

Sink configuration.

pipes: Sequence[PipeConfig[Any, Any] | AggregateConfig[Any] | DisaggregateConfig[Any] | PathVariantsConfig[Any] | _SubprocessPipelineConfig | PlacementConfig]

Pipe configurations.

sink: SinkConfig[_ConfigOutput]

Sink configuration.

src: SourceConfig[Any] | MergeConfig

Source configuration.