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


##########
tests/jobs/test_scheduler_job.py:
##########
@@ -6319,10 +6319,10 @@ def 
test_activate_referenced_assets_with_no_existing_warning(self, session):
             )
         )
         assert dag_warning.message == (
-            'Cannot activate asset AssetModel(name="it\'s also a duplicate",'
-            " uri='s3://bucket/key/1', extra={'foo': 'bar'}); uri is already 
associated to 'asset1'\n"
-            "Cannot activate asset AssetModel(name='asset1', uri"
-            "=\"it's duplicate\", extra={'foo': 'bar'}); name is already 
associated to 's3://bucket/key/1'"
+            'Cannot activate asset Asset(name="it\'s also a duplicate",'
+            " uri='s3://bucket/key/1', group='asset', extra={'foo': 'bar'}, 
watchers=[]); uri is already associated to 'asset1'\n"

Review Comment:
   This is the warning the user will see. I'm actually ok; just not sure 
whether it provider too much information 🤔 



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to