Airflow - creating dynamic Tasks from XCOM

后端 未结 2 1874
广开言路
广开言路 2020-12-17 02:25

I\'m attempting to generate a set of dynamic tasks from a XCOM variable. In the XCOM I\'m storing a list and I want to use each element of the list to dynamically create a

2条回答
  •  甜味超标
    2020-12-17 03:12

    The simplest way I can think of is to use a branch operator. https://github.com/apache/airflow/blob/master/airflow/example_dags/example_branch_operator.py

提交回复
热议问题