[ https://issues.apache.org/jira/browse/AIRFLOW-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
raman closed AIRFLOW-3882. -------------------------- Resolution: Not A Problem > Optimise APIs to create DAG model from DB instead of calling DagBag() > --------------------------------------------------------------------- > > Key: AIRFLOW-3882 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3882 > Project: Apache Airflow > Issue Type: Improvement > Components: api, webserver > Affects Versions: 1.10.2 > Reporter: raman > Priority: Minor > > Currently following APIs create the Dag object by calling DagBag() on all the > files. which is not an optimised way. There is an alternative to create a Dag > object from DB > -> get_dag_run_state > -> get_dag_runs > -> /dags/<string:dag_id>/tasks/<string:task_id> > -> > /dags/<string:dag_id>/dag_runs/<string:execution_date>/tasks/<string:task_id> > -- This message was sent by Atlassian JIRA (v7.6.3#76005)