Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Jul 19, 2025

Replaced direct imports of macros with a deprecation mechanism using add_deprecated_classes. This change aims to streamline the code and improve maintainability by handling deprecated macros more efficiently.


^ 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 airflow-core/newsfragments.

Replaced direct imports of macros with a deprecation mechanism using `add_deprecated_classes`. This change aims to streamline the code and improve maintainability by handling deprecated macros more efficiently.
@kaxil kaxil added this to the Airflow 3.1.0 milestone Jul 19, 2025
@kaxil kaxil requested review from amoghrajesh and ashb July 19, 2025 17:50
@kaxil kaxil merged commit dd4b99a into apache:main Jul 19, 2025
57 checks passed
@kaxil kaxil deleted the refactor/macros-deprecation branch July 19, 2025 18:24
@potiuk
Copy link
Member

potiuk commented Jul 19, 2025

NICE!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants