Skip to content

Conversation

@Taragolis
Copy link
Contributor

We deprecate import AirflowException directly from the package in #34541
However it is still exists AirflowException in type checking block which might confuse some autosuggestion, e.g. in PyCharm.

before changes:

wrong-autosuggestion.mp4

after changes:

correct-autosuggestion.mp4

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Taragolis Taragolis added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Feb 26, 2024
@eladkal eladkal added this to the Airflow 2.8.3 milestone Feb 27, 2024
@eladkal eladkal merged commit ca95f28 into apache:main Feb 27, 2024
@Taragolis Taragolis deleted the remove-airflow-exception-from-init-py branch February 27, 2024 18:01
ephraimbuddy pushed a commit that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants