Skip to content

Commit

Permalink
[AIRFLOW-6887] Do not check the state of fresh DAGRun (#7510)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj committed Feb 26, 2020
1 parent 83b60f0 commit c39ebaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions airflow/models/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,8 +1453,6 @@ def create_dagrun(self,
# state is None at the moment of creation
run.verify_integrity(session=session)

run.refresh_from_db()

return run

@provide_session
Expand Down

0 comments on commit c39ebaa

Please sign in to comment.