Skip to content

Commit

Permalink
Removed duplicated dag_run join in Dag.get_task_instances() (#20591)
Browse files Browse the repository at this point in the history
Co-authored-by: hubert-pietron <hubert.pietron95@gmail.com>
(cherry picked from commit 960f573)
  • Loading branch information
hubert-pietron authored and jedcunningham committed Feb 17, 2022
1 parent 4dc8b90 commit 6d8342e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion airflow/models/dag.py
Expand Up @@ -1343,7 +1343,6 @@ def get_task_instances(
as_pk_tuple=False,
session=session,
)
.join(TaskInstance.dag_run)
.order_by(DagRun.execution_date)
.all()
)
Expand Down

0 comments on commit 6d8342e

Please sign in to comment.