3
我有一个task_a,我想在DAG_1和DAG_2中使用。这是可能的气流?在气流中是否可以在多个DAGS中使用单个任务?
task_a = SomeOperator(
task_id='some_id',
bash_command='some_command',
#instead of just
dag= DAG_1 # I want to assign this task to multiple dags
#dag=assign_multiple_dags_here(DAG_1 and DAG_2)
)
这可能吗?
我提出了你的建议使用部分。我喜欢它作为解决方法。 – javed