You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/08 07:39:00 UTC

[GitHub] [airflow] eladkal commented on a change in pull request #17488: add deprecation notice for SubDagOperator

eladkal commented on a change in pull request #17488:
URL: https://github.com/apache/airflow/pull/17488#discussion_r684731196



##########
File path: airflow/operators/subdag.py
##########
@@ -78,6 +86,13 @@ def __init__(
         self._validate_dag(kwargs)
         self._validate_pool(session)
 
+        warnings.warn(
+            """This class is deprecated.
+            Please use `airflow.utils.task_group.TaskGroup`.""",

Review comment:
       We have an open task for it:
   https://github.com/apache/airflow/issues/12298




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org