ashb commented on code in PR #65676: URL: https://github.com/apache/airflow/pull/65676#discussion_r3125621273
########## 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: Sure. This was how it was pre-change so I just copied that. Will move. -- 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]
