This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 457659a97c3 [v3-0-test] Add back-compat for `get_unique_task_id` 
(#49084) (#49093)
457659a97c3 is described below

commit 457659a97c345ea4ac88afee7270c346d57df695
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Apr 11 12:09:33 2025 +0200

    [v3-0-test] Add back-compat for `get_unique_task_id` (#49084) (#49093)
    
    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 <[email protected]>
---
 airflow-core/src/airflow/decorators/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/airflow-core/src/airflow/decorators/__init__.py 
b/airflow-core/src/airflow/decorators/__init__.py
index 38fab68825c..86f82799796 100644
--- a/airflow-core/src/airflow/decorators/__init__.py
+++ b/airflow-core/src/airflow/decorators/__init__.py
@@ -32,6 +32,7 @@ __deprecated_classes = {
         "DecoratedMappedOperator": 
"airflow.sdk.bases.decorator.DecoratedMappedOperator",
         "DecoratedOperator": "airflow.sdk.bases.decorator.DecoratedOperator",
         "TaskDecorator": "airflow.sdk.bases.decorator.TaskDecorator",
+        "get_unique_task_id": "airflow.sdk.bases.decorator.get_unique_task_id",
         "task_decorator_factory": 
"airflow.sdk.bases.decorator.task_decorator_factory",
     },
 }

Reply via email to