You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "raman (JIRA)" <ji...@apache.org> on 2019/02/13 05:43:00 UTC
[jira] [Closed] (AIRFLOW-3882) Optimise APIs to create DAG model
from DB instead of calling DagBag()
[ 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)