Exclude missing tasks from the gantt view (#23627)
authorJoel Ossher <73489824+joelossher@users.noreply.github.com>
Fri, 20 May 2022 19:24:14 +0000 (15:24 -0400)
committerGitHub <noreply@github.com>
Fri, 20 May 2022 19:24:14 +0000 (15:24 -0400)
commit4b731f440734b7a0da1bbc8595702aaa1110ad8d
treeccc36516ec155adf5849d4ec59754370e7bba980
parente09e4635b0dc50cbd3a18f8be02ce9b2e2f3d742
Exclude missing tasks from the gantt view (#23627)

* Exclude missing tasks from the gantt view

Stops the gantt view from crashing if a task no longer exists
in a DAG but there are TaskInstances for that task.

* Fix tests
airflow/www/views.py
tests/www/views/test_views_graph_gantt.py