Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing contrib classes to deprecated dictionaries #26179

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Sep 6, 2022

The #26153 missed the classes that were added by deriving a new
class from the imported ones. This was mostly about non-consistent
spelling of class names.

This PR fixes it and brings missing contrib classes back.


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

The apache#26153 missed the classes that were added by deriving a new
class from the imported ones. This was mostly about non-consistent
spelling of class names.

This PR fixes it and brings missing contrib classes back.
@@ -24,281 +24,35 @@
warnings.warn("This module is deprecated. Please use `airflow.utils`.", DeprecationWarning, stacklevel=2)

__deprecated_classes = {
'aws_athena_hook': {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was copy&pasted by mistake :(

@potiuk
Copy link
Member Author

potiuk commented Sep 6, 2022

It's also black-formatted, so there are some extra parentheses added automatically by black to keep the line length.

@potiuk potiuk modified the milestone: Airflow 2.4.0 Sep 6, 2022
@potiuk
Copy link
Member Author

potiuk commented Sep 7, 2022

Would love that one too ... it makes airflow code so mych nicer to browse and understand what's still there in the "core".

@ashb ashb merged commit 415a80d into apache:main Sep 7, 2022
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Sep 13, 2022
@ephraimbuddy ephraimbuddy added this to the Airflow 2.4.0 milestone Sep 14, 2022
@potiuk potiuk deleted the add-missing-contrib-classes branch December 2, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants