airflow.example_dags.example_branch_operator_decorator

Example DAG demonstrating the usage of the branching TaskFlow API decorators.

It shows how to use standard Python @task.branch as well as the external Python version @task.branch_external_python which calls an external Python interpreter and the @task.branch_virtualenv which builds a temporary Python virtual environment.

Attributes

PATH_TO_PYTHON_BINARY

Module Contents

airflow.example_dags.example_branch_operator_decorator.PATH_TO_PYTHON_BINARY = '/usr/local/bin/python'[source]

Was this entry helpful?