ephraimbuddy commented on code in PR #53600:
URL: https://github.com/apache/airflow/pull/53600#discussion_r2266508691


##########
providers/standard/src/airflow/providers/standard/operators/python.py:
##########
@@ -75,11 +74,7 @@
 
     from airflow.sdk.execution_time.callback_runner import 
ExecutionCallableRunner
     from airflow.sdk.execution_time.context import OutletEventAccessorsProtocol
-
-    try:
-        from airflow.sdk.definitions.context import Context
-    except ImportError:  # TODO: Remove once provider drops support for 
Airflow 2
-        from airflow.utils.context import Context
+    from airflow.utils.context import Context

Review Comment:
   Let me return it to the original usage. Cause the provider can be used in 
Airflow 2.



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