tests.system.standard.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

run_this_first

test_run

Module Contents

tests.system.standard.example_branch_operator_decorator.PATH_TO_PYTHON_BINARY = '/usr/local/bin/python'[source]
tests.system.standard.example_branch_operator_decorator.run_this_first[source]
tests.system.standard.example_branch_operator_decorator.test_run[source]

Was this entry helpful?