code_run
Run a data pipeline by providing source code files and a branch reference, with optional parameters, returning a job ID and success/failure status.
Instructions
Run a pipeline from provided source code files as a dictionary and a data ref, returning a job ID and success/failure to the caller.
Args: project_files: Dictionary mapping file names to source code as strings. Must contain bauplan_project.yml and .sql/.py files. ref: The ref or branch name from which to run the project. parameters: Parameters for templating DAGs. Keys are parameter names, values must be simple types (str, int, float, bool). Default: None.
Returns: RunState: Object indicating success/failure with job Id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_files | Yes | ||
| ref | Yes | ||
| parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| job_id | No |