uranusjr commented on code in PR #29891:
URL: https://github.com/apache/airflow/pull/29891#discussion_r1133582049
##########
airflow/utils/task_group.py:
##########
@@ -92,11 +92,15 @@ def __init__(
ui_color: str = "CornflowerBlue",
ui_fgcolor: str = "#000",
add_suffix_on_collision: bool = False,
+ setup: bool = False,
+ teardown: bool = False,
):
from airflow.models.dag import DagContext
self.prefix_group_id = prefix_group_id
self.default_args = copy.deepcopy(default_args or {})
+ self.setup = setup
+ self.teardown = teardown
Review Comment:
Should these be mutually exclusive, or can a task group be both setup and
teardown?
--
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]