airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Nedumaran <>
Subject Re: Programatically generating DAGs
Date Tue, 17 Jan 2017 09:28:23 GMT
Hello Ludovic, 

Thank you so much. Things are a lot clearer now. Looks like there is a way to make this work
for us. 

Have a nice day,

On 16/01/17, 22:30, "Ludovic Claude" <> wrote:

    Hello Arvind,
    DAGs in Airflow are simple Python objects that only need to be registered
    in the globals namespace. It's easy to generate DAGs from some
    configuration or database, I'm using that for example to generate several
    image processing pipelines based on configuration.
    Here is an example:
    2017-01-16 12:28 GMT+01:00 Arvind Nedumaran <>:
    > Hello everyone,
    > I'm new to Airflow and I'm evaluating it for implementation at our org. I
    > find that there are a lot of use cases where workflows are not known during
    > development. Is there a way to programatically generate, and manage DAGs.
    > Better yet, is there a way to manage them directly from a DB instead of
    > generating them from templates and managing them as files. We're about to
    > spend considerable time implementing this, so I just want to know about the
    > various existing options.
    > Does it help if the tasks are pre-defined and the DAGs only happen to be
    > some permutation of the pre-existing tasks?
    > Anybody who's tried something like before, I'd be grateful for any input on
    > this issue.
    > Thanks,
    > Arvind

View raw message