ephraimbuddy commented on PR #54505: URL: https://github.com/apache/airflow/pull/54505#issuecomment-3276655076
> > @kaxil , the issue here now is that some exceptions used in core are deprecated in airflow/exceptions and would give deprecation notice when used. > > If deprecation error pops up in breeze, we should fix that. For example, if an example dag in core raises deprecation, change import path to import that from airflow.sdk.exception. For providers, add a try/catch Is it OK to import TaskNotFound from sdk into the api server? it's used a lot there and if we don't import from sdk, then there will be deprecation errors. Same applies to other exceptions there -- 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]
