Skip to main content

Python class

PipelineOutputType

PipelineOutputType

class max.pipelines.modeling.types.PipelineOutputType

source

Type variable for pipeline output types.

This TypeVar is bound to PipelineOutput, ensuring that any type used with this variable must implement the PipelineOutput protocol. Used for generic typing in pipeline operations to maintain type safety while allowing flexibility in output types.

Bounds:
PipelineOutput: All types must implement the PipelineOutput protocol

alias of TypeVar(‘PipelineOutputType’, bound=PipelineOutput)