TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/zenml-io/zenml/llms.txt
Use this file to discover all available pages before exploring further.
@pipeline decorator transforms a Python function into a ZenML pipeline that orchestrates multiple steps.
Signature
Parameters
The name of the pipeline. If not provided, the function name is used.
Whether this is a dynamic pipeline that can create steps at runtime.
Whether to use caching for pipeline steps. Defaults to True.
Whether to enable metadata extraction for artifacts. Defaults to True.
Whether to enable step logs.
Whether to enable heartbeat monitoring for steps.
Whether to enable pipeline logs.
Environment variables to set when running this pipeline.
Secrets to set as environment variables.
Stack component settings for this pipeline.
Tags to apply to pipeline runs.
Extra configurations for this pipeline.
Callback function or source path to execute on pipeline failure.
Callback function or source path to execute on pipeline success.
Callback function to run on pipeline initialization.
Arguments for the init hook.
Callback function to run on pipeline cleanup.
Model configuration for the Model Control Plane.
Retry configuration for pipeline steps.
Extra substitutions for name placeholders like
{date} and {time}.The execution mode to use for the pipeline.
Cache policy for this pipeline.
Returns
A configured Pipeline instance that can be called to run the pipeline.
Examples
Basic Pipeline
Pipeline with Configuration
Dynamic Pipeline
Related
@step
Learn about creating pipeline steps
Model
Configure model versioning
get_pipeline_context
Access pipeline context
Schedule
Schedule pipeline runs
