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


##########
providers/edge3/tests/unit/edge3/worker_api/routes/test_jobs.py:
##########
@@ -44,7 +49,7 @@ def setup_test_cases(self, dag_maker, session: Session):
         session.query(EdgeJobModel).delete()
         session.commit()
 
-    @patch("airflow.stats.Stats.incr")
+    @patch(f"{Stats.__module__}.Stats.incr")

Review Comment:
   Nice change



##########
task-sdk/src/airflow/sdk/io/fs.py:
##########
@@ -24,9 +24,9 @@
 
 from fsspec.implementations.local import LocalFileSystem
 
+from airflow.observability.stats import Stats
 from airflow.providers_manager import ProvidersManager
 from airflow.sdk.module_loading import import_string
-from airflow.stats import Stats

Review Comment:
   I think you are right, but I am also not confident.



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