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

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 1cf28896087 Use public facing class for ``TaskGroup`` deprecation 
(#53714)
1cf28896087 is described below

commit 1cf288960870301a96cd92941c75013bbe593a4e
Author: Kaxil Naik <kaxiln...@apache.org>
AuthorDate: Fri Jul 25 00:45:16 2025 +0530

    Use public facing class for ``TaskGroup`` deprecation (#53714)
---
 airflow-core/src/airflow/utils/__init__.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow-core/src/airflow/utils/__init__.py 
b/airflow-core/src/airflow/utils/__init__.py
index 5f3fb979113..e23cae9a615 100644
--- a/airflow-core/src/airflow/utils/__init__.py
+++ b/airflow-core/src/airflow/utils/__init__.py
@@ -29,8 +29,7 @@ __deprecated_classes = {
         "XCOM_RETURN_KEY": "airflow.models.xcom.XCOM_RETURN_KEY",
     },
     "task_group": {
-        "TaskGroup": "airflow.sdk.definitions.taskgroup.TaskGroup",
-        "MappedTaskGroup": "airflow.sdk.definitions.taskgroup.MappedOperator",
+        "TaskGroup": "airflow.sdk.TaskGroup",
         "get_task_group_children_getter": 
"airflow.sdk.definitions.taskgroup.get_task_group_children_getter",
         "task_group_to_dict": 
"airflow.sdk.definitions.taskgroup.task_group_to_dict",
     },

Reply via email to