I'll just make a general comment, for our dags we need to pass custom parameters to them, and not all parameters apply to all dags. And we also pass these values to tasks as well we used xcom for that. We built a UI in Python that maintains values in a table and then an early task in each dag reads parameters and passes them to the tasks. You have a similar situation with the additional step requiring invoking a specific api. Not sure of the answer to your question but just wanted to share this info.
I wish Airflow had a common UI that afforded the ability to schedule dags with custom values, and also define their values in manual execution as well on each manual execution. There is support for global parameters but I didn't think that had the flexibility we needed. I think someone will respond with clear answers. Mike On Tue, Jun 23, 2020, 7:17 AM devang pandey <[email protected]> wrote: > Hi, > > I am stuck at a point wherein I have to externally ( lets say from a UI) > change existing DAGs start date or schedule interval. > > From api i can externally trigger a DAG but I am not very sure how can we > update schedule time. > > > Reason being - I have 50 + dags and I dont want end users to manually go > inside DAG and change schedule interval / start date. > > > Please suggest ... Thanks.. > > > Thanks, > Devang > > >
