-
I've written a simple automation that updates my DAGs based on repo pushes using GitHub webhooks. My issue is that the refresh interval makes it sometimes annoyingly slow to pick up changes. Is there a way to make Airflow refresh DAGs using something like an API call? I looked at the API documentation but I don't see anything like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What do you mean by refreshing DAG? |
Beta Was this translation helpful? Give feedback.
-
This is handled separately by So the short answer is: currently there is no such a way. |
Beta Was this translation helpful? Give feedback.
This is handled separately by
DagFileProcessorManager
(broadly speaking, underScheduler
's scope). Web API doesn't provide any interface for the use case you mentioned ("trigger a scan of DAG folder").So the short answer is: currently there is no such a way.