uranusjr commented on code in PR #65676: URL: https://github.com/apache/airflow/pull/65676#discussion_r3125525300
########## providers/edge3/src/airflow/providers/edge3/models/edge_worker.py: ########## @@ -25,10 +25,13 @@ from sqlalchemy import JSON, Integer, String, delete, select from sqlalchemy.orm import Mapped +try: + from airflow.sdk.observability.stats import DualStatsManager +except ImportError: + DualStatsManager = None # type: ignore[assignment,misc] # Airflow < 3.2 compat Review Comment: Can this be moved down after other imports please -- 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]
