kaxil commented on code in PR #73193:
URL: https://github.com/apache/airflow/pull/73193#discussion_r4016599942


##########
providers/amazon/tests/system/amazon/aws/example_dms.py:
##########
@@ -45,7 +45,12 @@
     RdsDeleteDbInstanceOperator,
 )
 from airflow.providers.amazon.aws.sensors.dms import DmsTaskBaseSensor, 
DmsTaskCompletedSensor
-from airflow.providers.standard.sensors.date_time import DateTimeSensorAsync
+
+try:
+    from airflow.providers.standard.sensors.date_time import 
DateTimeSensorAsync
+except ImportError:
+    # Fallback for older Airflow versions
+    from airflow.sensors.date_time import DateTimeSensorAsync  # type: 
ignore[no-redef]

Review Comment:
   Why though? Isn't standard provider working since Airflow >2.0



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