tirkarthi commented on code in PR #57425:
URL: https://github.com/apache/airflow/pull/57425#discussion_r2469678712
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/ui/dags.py:
##########
@@ -18,16 +18,16 @@
from __future__ import annotations
from airflow.api_fastapi.core_api.base import BaseModel
-from airflow.api_fastapi.core_api.datamodels.dag_run import DAGRunResponse
from airflow.api_fastapi.core_api.datamodels.dags import DAGResponse
from airflow.api_fastapi.core_api.datamodels.hitl import HITLDetail
+from airflow.api_fastapi.core_api.datamodels.ui.dag_runs import
DAGRunLightResponse
class DAGWithLatestDagRunsResponse(DAGResponse):
"""DAG with latest dag runs response serializer."""
asset_expression: dict | None
- latest_dag_runs: list[DAGRunResponse]
+ latest_dag_runs: list[DAGRunLightResponse]
Review Comment:
The change is in `DAGWithLatestDagRunsCollectionResponse` in ui/dags.py
which is used only by `ui/dags/get_dags` . My assumption was that ui related
datamodels and endpoint responses are not public and thus don't need to be
backwards compatible between releases.
--
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]