Lee-W commented on code in PR #43774:
URL: https://github.com/apache/airflow/pull/43774#discussion_r1863056496


##########
airflow/assets/manager.py:
##########
@@ -125,7 +125,9 @@ def register_asset_change(
         # todo: add test so that all usages of internal_api_call are added to 
rpc endpoint
         asset_model = session.scalar(
             select(AssetModel)
-            .where(AssetModel.uri == asset.uri)
+            .where(
+                AssetModel.name == asset.name, AssetModel.uri == asset.uri, 
AssetModel.group == asset.group

Review Comment:
   yep, this could be removed.



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