Airflow Summit 2025 将于 10 月 07-09 日举行。立即注册获取早鸟票!

airflow.example_dags.example_branch_operator

示例 DAG,演示了经典分支 Python operator 的用法。

它展示了基础的 BranchPythonOperator 及其姐妹 operator BranchExternalPythonOperator 和 BranchPythonVirtualenvOperator。

属性

PATH_TO_PYTHON_BINARY

run_this_first

模块内容

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

此条目是否有帮助?