airflow.providers.standard.example_dags.example_bash_decorator

Functions

example_bash_decorator()

### Bash TaskFlow Decorator Example

Module Contents

airflow.providers.standard.example_dags.example_bash_decorator.example_bash_decorator()[source]

### Bash TaskFlow Decorator Example This DAG demonstrates the @task.bash decorator for running shell commands from TaskFlow tasks. It includes: - Basic bash tasks and loops using override - Jinja templating and context variables - Skip behavior via non-zero exit codes and conditional branching - Parameterized environment variables and dynamic command construction

For details, see the Bash decorator documentation [here](https://airflow.apache.org/docs/apache-airflow/stable/howto/operator/bash.html).

Was this entry helpful?