Skip to content

Add back-compat for get_unique_task_id#49084

Merged
kaxil merged 1 commit intoapache:mainfrom
astronomer:add-backcompat-decorators
Apr 10, 2025
Merged

Add back-compat for get_unique_task_id#49084
kaxil merged 1 commit intoapache:mainfrom
astronomer:add-backcompat-decorators

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Apr 10, 2025

This was part of the airflow.decorators.base module that can moved. get_unique_task_id is commonly used for custom decorators so adding it as compat-shim.


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

This was part of the `airflow.decorators.base` module that can moved. `get_unique_task_id` is commonly used for custom decorators so adding it as compat-shim.
@kaxil kaxil added this to the Airflow 3.0.0 milestone Apr 10, 2025
@kaxil kaxil merged commit 7871e1f into apache:main Apr 10, 2025
50 checks passed
@kaxil kaxil deleted the add-backcompat-decorators branch April 10, 2025 18:18
github-actions bot pushed a commit that referenced this pull request Apr 10, 2025
This was part of the `airflow.decorators.base` module that can moved. `get_unique_task_id` is commonly used for custom decorators so adding it as compat-shim.
(cherry picked from commit 7871e1f)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk pushed a commit that referenced this pull request Apr 11, 2025
This was part of the `airflow.decorators.base` module that can moved. `get_unique_task_id` is commonly used for custom decorators so adding it as compat-shim.
(cherry picked from commit 7871e1f)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
potiuk pushed a commit that referenced this pull request Apr 11, 2025
This was part of the `airflow.decorators.base` module that can moved. `get_unique_task_id` is commonly used for custom decorators so adding it as compat-shim.
(cherry picked from commit 7871e1f)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
potiuk pushed a commit that referenced this pull request Apr 11, 2025
This was part of the `airflow.decorators.base` module that can moved. `get_unique_task_id` is commonly used for custom decorators so adding it as compat-shim.
(cherry picked from commit 7871e1f)

Co-authored-by: Kaxil Naik <kaxilnaik@gmail.com>
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.

3 participants