[
https://issues.apache.org/jira/browse/AIRFLOW-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937588#comment-16937588
]
jack commented on AIRFLOW-1223:
-------------------------------
I don't think there is a CLI for that.
> Is there a (preferred) method for programmatically forcing a dag's refresh
> --------------------------------------------------------------------------
>
> Key: AIRFLOW-1223
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1223
> Project: Apache Airflow
> Issue Type: Wish
> Components: DAG, ui
> Affects Versions: 1.7.1
> Reporter: Michael Shire
> Priority: Major
>
> When making a change to a dag, in order to immediately load the change I have
> to click the "refresh" symbol in the dag list UI.
> Is there a preferred way to programmatically force a dag to refresh/reload
> immediately?
> sample use case:
> A dag creates tasks and dependencies by reading a table (e.g. a text file or
> a db table). When additions or changes are made to this table, I'd like a
> command I can run to force the dag to update/refresh/reload straight away to
> pick up the new tasks and also appear refreshed in the webserver UI.
> The closest I can find is "airflow initdb" though I do not think that fully
> covers it and am unclear to the consequences or side effects of a running
> airflow.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)