pierrejeambrun commented on code in PR #49250: URL: https://github.com/apache/airflow/pull/49250#discussion_r2044428939
########## airflow-core/src/airflow/api_fastapi/core_api/datamodels/extra_links.py: ########## @@ -16,10 +16,15 @@ # under the License. from __future__ import annotations -from pydantic import RootModel +from typing import Annotated +from pydantic import Field -class ExtraLinksResponse(RootModel): +from airflow.api_fastapi.core_api.base import BaseModel + + +class ExtraLinksResponse(BaseModel): Review Comment: ```suggestion class ExtraLinkCollectionResponse(BaseModel): ``` -- 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]
