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 <[email protected]>, 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

Reply via email to