kaxil commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2285942583


##########
airflow-core/src/airflow/models/connection.py:
##########
@@ -31,10 +31,11 @@
 from sqlalchemy.orm import declared_attr, reconstructor, synonym
 
 from airflow.configuration import ensure_secrets_loaded
-from airflow.exceptions import AirflowException, AirflowNotFoundException
+from airflow.exceptions import AirflowException
 from airflow.models.base import ID_LEN, Base
 from airflow.models.crypto import get_fernet
 from airflow.sdk import SecretCache
+from airflow.sdk.exceptions import AirflowNotFoundException

Review Comment:
   We shouldn't import exception from Task SDK in core and vice-versa



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