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


##########
providers/amazon/src/airflow/providers/amazon/aws/executors/ecs/ecs_executor.py:
##########
@@ -49,11 +49,12 @@
 )
 from airflow.providers.amazon.aws.hooks.ecs import EcsHook
 from airflow.providers.amazon.version_compat import AIRFLOW_V_3_0_PLUS
-from airflow.stats import Stats
 
 try:
+    from airflow.observability.stats import Stats

Review Comment:
   Could we move that import to common.compat and import the try/import  from a 
single place? That would make it easier to manage compatibility code and 
removal of compatibility code in the future.



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