airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Halgrim <scott.halg...@zapier.com>
Subject Re: Dynamic task number
Date Tue, 30 May 2017 14:30:07 GMT
I think so. It’s not completely clear what you want to do with those different tasks but
you should be able to create those tasks with a factory method. We have a subdag whose tasks
vary depending on how many tables it finds in our database (one task per table).

Scott

On May 30, 2017, 7:21 AM -0700, Leroy Julien <julien.leroy@heig-vd.ch>, wrote:
> Hi,
>
> I would like to know if it’s possible to make a DAG with a variable number of tasks
depending on a parameter given to the 'trigger_dag -c’ command.
>
> Thanks
> Julien

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message