potiuk commented on code in PR #50391:
URL: https://github.com/apache/airflow/pull/50391#discussion_r2081579055


##########
airflow-core/tests/unit/models/test_mappedoperator.py:
##########
@@ -334,7 +334,12 @@ def execute(self, context):
 
 
 def _create_mapped_with_name_template_taskflow(*, task_id, map_names, 
template):
-    from airflow.providers.standard.operators.python import get_current_context
+    from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS
+
+    if AIRFLOW_V_3_0_PLUS:
+        from airflow.sdk import get_current_context
+    else:
+        from airflow.providers.standard.utils import get_current_context

Review Comment:
   Hmm... some of those tests failed in backcompat test - but maybe it was the 
sagemaker - let me see
   



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