turbaszek commented on a change in pull request #17488:
URL: https://github.com/apache/airflow/pull/17488#discussion_r684684420
##########
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:
I'm wondering if we have any subdag to tg migration guide / howto. If
yes, then maybe it would be nice to point to it in this warning?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]