uranusjr commented on code in PR #33858:
URL: https://github.com/apache/airflow/pull/33858#discussion_r1308368953


##########
airflow/www/views.py:
##########
@@ -3796,11 +3796,11 @@ def historical_metrics_data(self):
             data = {
                 "dag_run_types": {
                     **{dag_run_type.value: 0 for dag_run_type in DagRunType},
-                    **{run_type: sum_value for run_type, sum_value in 
dag_run_types},
+                    **dict(dag_run_types),

Review Comment:
   ```suggestion
                       **dag_run_types,
   ```
   
   The additional dict is totally unnecessary. Same for the change below.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to