Skip to content

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

4 participants