xBis7 commented on code in PR #56187: URL: https://github.com/apache/airflow/pull/56187#discussion_r2574348024
########## task-sdk/src/airflow/sdk/execution_time/task_runner.py: ########## @@ -116,7 +116,11 @@ from airflow.sdk.execution_time.sentry import Sentry from airflow.sdk.execution_time.xcom import XCom from airflow.sdk.timezone import coerce_datetime -from airflow.stats import Stats + +try: + from airflow.observability.stats import Stats +except ImportError: + from airflow.stats import Stats # type: ignore[attr-defined,no-redef] Review Comment: Fixed. -- 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]
