uranusjr commented on code in PR #64625:
URL: https://github.com/apache/airflow/pull/64625#discussion_r3027936120


##########
airflow-core/src/airflow/dag_processing/collection.py:
##########
@@ -727,11 +727,12 @@ def _find_all_asset_aliases(dags: 
Iterable[LazyDeserializedDAG]) -> Iterator[Ser
 
 
 def _find_active_assets(name_uri_assets: Iterable[tuple[str, str]], session: 
Session) -> set[tuple[str, str]]:
+    _name_uri_list = list(name_uri_assets)
     return {
         (str(row[0]), str(row[1]))
         for row in session.execute(
             select(AssetModel.name, AssetModel.uri).where(
-                tuple_(AssetModel.name, AssetModel.uri).in_(name_uri_assets),
+                tuple_(AssetModel.name, AssetModel.uri).in_(_name_uri_list),
                 AssetModel.active.has(),

Review Comment:
   Changes in this part is likely useless



-- 
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]

Reply via email to