ashb commented on a change in pull request #8742:
URL: https://github.com/apache/airflow/pull/8742#discussion_r421404994
##########
File path: airflow/www/views.py
##########
@@ -337,6 +337,9 @@ def get_int_arg(value, default=0):
num_of_pages = int(math.ceil(num_of_all_dags / float(dags_per_page)))
+ state_color_mapping = State.state_color.copy()
+ state_color_mapping["null"] = state_color_mapping.pop(None)
Review comment:
Keys in JSON must be strings, so `{ null: "x"}` isn't valid JSON. So it
_sort_ of makes sense that it doesn't get added. Sort of.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]