airflow.providers.standard.decorators.branch_external_python¶
Functions¶
| 
 | Wrap a python function into a BranchExternalPythonOperator. | 
Module Contents¶
- airflow.providers.standard.decorators.branch_external_python.branch_external_python_task(python_callable=None, multiple_outputs=None, **kwargs)[source]¶
- Wrap a python function into a BranchExternalPythonOperator. - For more information on how to use this operator, take a look at the guide: Branching - Accepts kwargs for operator kwarg. Can be reused in a single DAG. - Parameters:
- python_callable (collections.abc.Callable | None) – Function to decorate 
- multiple_outputs (bool | None) – if set, function return value will be unrolled to multiple XCom values. Dict will unroll to xcom values with keys as XCom keys. Defaults to False.