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


##########
tests/models/test_taskinstance.py:
##########
@@ -2268,6 +2271,11 @@ def test_outlet_assets(self, create_task_instance):
         dagbag = DagBag(dag_folder=example_assets.__file__)
         dagbag.collect_dags(only_if_updated=False, safe_mode=False)
         dagbag.sync_to_db(session=session)
+
+        asset_models = session.scalars(select(AssetModel)).all()

Review Comment:
   Likely not a good idea. This table can be quite big since it contains all 
history. (Same for the query below.)



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