Nataneljpwd commented on code in PR #62114:
URL: https://github.com/apache/airflow/pull/62114#discussion_r2867471981
##########
devel-common/src/tests_common/pytest_plugin.py:
##########
@@ -972,7 +972,11 @@ def _activate_assets(self):
AssetModel.producing_tasks.any(TaskOutletAssetReference.dag_id ==
self.dag.dag_id),
)
- assets =
self.session.scalars(select(AssetModel).where(assets_select_condition)).all()
+ assets = select(AssetModel).where(assets_select_condition).cte()
+
+ if not AIRFLOW_V_3_2_PLUS:
+ assets = self.session.scalars(select(assets)).all()
Review Comment:
Sure, I will join back to the asset model
--
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]