Skip to main content

Overview

The Python SDK provides full control over pipeline creation, execution, and monitoring. Pipelines are DAG-based workflows that automate deployment tasks.

Creating Pipelines

Basic Pipeline

With Error Handling

Actions in Pipelines

Actions are the building blocks of pipelines. Each action represents a discrete step in your workflow.

Action Structure

Every action has:
  • Unique ID - Identifies the action in the DAG
  • Type - Determines what the action does (e.g., log, transform, api_call)
  • Configuration - Action-specific settings via params
  • Dependencies - Which actions must complete first via depends_on

Common Action Types

See the Actions Reference for a complete list of available action types.

Managing Pipelines

Listing Pipelines

Getting Pipeline Details

Updating Pipelines

Deleting Pipelines

Deleting a pipeline does not affect existing executions or created resources (deployments, models, etc.).

Executing Pipelines

Synchronous Execution

Asynchronous Execution

With Parameters

Execution Priority

Monitoring Executions

Listing Executions

Execution Status

Polling for Completion

Getting Execution Details

Execution Outputs

Pipeline Outputs

Step Outputs

Execution Logs

Retrieving Logs

Filtered Logs

Streaming Logs

Managing Executions

Cancelling Executions

Retrying Failed Executions

Execution Callbacks

Execution Tags

Ephemeral Pipelines

Execute pipelines without persisting them:

Pipeline Templates

Use templates for common workflows:

Batch Executions

Run multiple executions in parallel:

Execution Metrics

Best Practices

Use descriptive IDs: Name steps clearly for easier debugging
Add logging: Include log actions for visibility
Handle failures: Use conditional branching for error paths
Parameterize: Make pipelines reusable with params
Test incrementally: Test each step before adding the next
Monitor executions: Set up callbacks and tags for tracking
Clean up: Delete old executions to save storage

Error Handling

Next Steps

Pipeline DSL

Pythonic pipeline builder with type safety

Actions Reference

Complete list of available action types