ephraimbuddy commented on code in PR #29891:
URL: https://github.com/apache/airflow/pull/29891#discussion_r1133754689
##########
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 be mutually exclusive. Fixed
--
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]