ephraimbuddy commented on code in PR #56085:
URL: https://github.com/apache/airflow/pull/56085#discussion_r2378064453
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py:
##########
@@ -158,7 +159,7 @@ def get_dag_structure(
task_group_sort = get_task_group_children_getter()
if not run_ids:
nodes = [task_group_to_dict_grid(x) for x in
task_group_sort(latest_dag.task_group)]
- return nodes
+ return [GridNodeResponse(**n) for n in nodes]
Review Comment:
This kind of changes was to make mypy happy
--
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]