uranusjr commented on code in PR #56813:
URL: https://github.com/apache/airflow/pull/56813#discussion_r2446852244
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/assets.py:
##########
@@ -244,7 +244,7 @@ def get_asset_aliases(
)
return AssetAliasCollectionResponse(
- asset_aliases=session.scalars(asset_aliases_select),
+ asset_aliases=list(session.scalars(asset_aliases_select)),
Review Comment:
Instead of having to copy here, would it be possible to just change the
model declaration from `list` to `Iterable` instead?
--
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]