guan404ming commented on code in PR #54309:
URL: https://github.com/apache/airflow/pull/54309#discussion_r2265301051
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dag_stats.py:
##########
@@ -74,15 +74,18 @@ def get_dag_stats(
query_result = session.execute(dagruns_select)
result_dag_ids = []
+ dag_display_names: dict[str, str] = {}
dag_state_data = {}
- for dag_id, state, count in query_result:
+ for dag_id, state, dag_display_name, count in query_result:
dag_state_data[(dag_id, state)] = count
- if dag_id not in result_dag_ids:
+ if (dag_id) not in result_dag_ids:
Review Comment:
Thanks, that would better.
--
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]