Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use existing DagBag for 'dag_details' & 'trigger' Endpoints #8501

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

kaxil
Copy link
Member

@kaxil kaxil commented Apr 21, 2020

dag_details and trigger_endpoint were recreating the DagBag. It was creating the DagBag with a single DagFile, so wasn't a huge problem but it didn't needed to since we have the DagBag at the top level in views.py which will keep the DAGs in DagBag once it fetches it.

Added tests to check this for Graph and Tree views too


Make sure to mark the boxes below before creating PR: [x]


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@kaxil kaxil requested a review from ashb April 21, 2020 19:25
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Apr 21, 2020
@kaxil kaxil changed the title Use existing DagBag for 'dag_details' & trigger Endpoints Use existing DagBag for 'dag_details' & 'trigger' Endpoints Apr 21, 2020
@kaxil kaxil merged commit a8cedf8 into apache:master Apr 21, 2020
@kaxil kaxil deleted the use-existing-dagbag branch April 21, 2020 21:25
@kaxil kaxil added this to the Airflow 1.10.11 milestone Apr 21, 2020
@kaxil kaxil added the type:improvement Changelog: Improvements label Jul 1, 2020
cfei18 pushed a commit to cfei18/incubator-airflow that referenced this pull request Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants