Pipeline Snapshots
Create and run pipeline snapshots.
Real-world Use Case
from zenml.client import Client
Client().trigger_pipeline(
snapshot_name_or_id=<NAME-OR-ID>,
run_configuration={
"steps": {
"data_loader": {"parameters": {"data_path": "s3://new-data/"}},
"model_trainer": {"parameters": {"learning_rate": 0.01}}
}
}
)Understanding Pipeline Snapshots
Creating Pipeline Snapshots
Using the Python SDK
Using the CLI
Using the Dashboard


Running Pipeline Snapshots
Using the Python SDK
Using the CLI
Using the Dashboard

Using the REST API
Deleting Pipeline Snapshots
Advanced Usage: Running Snapshots from Other Pipelines
Method 1: Trigger by Pipeline Name (Uses Latest Snapshot)
Method 2: Trigger by Specific Snapshot ID

Best Practices
Last updated
Was this helpful?