project_run
Run a data pipeline from a specified project directory and branch, returning a job ID and success/failure. Supports parameter templating and dry-run mode.
Instructions
Run a pipeline from a specified directory and data ref, returning a job ID and success/failure to the caller.
Args: project_dir: The directory of the project containing the source code files and bauplan_project.yml. ref: The ref or branch name from which to run the project. namespace: The Namespace to run the job in. If not set, the job will be run in the default namespace. parameters: Parameters for templating DAGs. Keys are parameter names, values must be simple types (str, int, float, bool). dry_run: Whether to enable or disable dry-run mode for the run; models are not materialized (defaults to False). client_timeout: Seconds to timeout (defaults to 120).
Returns: RunState: Object indicating success/failure with job Id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| ref | Yes | ||
| namespace | No | ||
| parameters | No | ||
| dry_run | No | ||
| client_timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| job_id | No |