jedcunningham commented on code in PR #29793:
URL: https://github.com/apache/airflow/pull/29793#discussion_r1120277966
##########
tests/serialization/test_dag_serialization.py:
##########
@@ -1366,6 +1366,88 @@ def _check_taskgroup_children(
["group1.group2.teardown2"],
)
+ def test_task_group_setup_teardown_taskgroups(self):
+ """
+ Test TaskGroup setup and teardown taskgroup
serialization/deserialization.
+ """
+ from airflow.decorators import setup, task_group, teardown
+ from airflow.operators.empty import EmptyOperator
+
+ execution_date = datetime(2020, 1, 1)
+ with DAG("test_task_group_setup_teardown_task_groups",
start_date=execution_date) as dag:
+
+ @setup
+ @task_group
+ def setup():
Review Comment:
Oops 🤦♂️. Not the last time I'll do that most likely. Thanks.
--
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]