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/06/21 18:12:51 UTC

[GitHub] [airflow] xinbinhuang commented on a change in pull request #16557: TaskGroup add default_args

xinbinhuang commented on a change in pull request #16557:
URL: https://github.com/apache/airflow/pull/16557#discussion_r655603041



##########
File path: airflow/utils/task_group.py
##########
@@ -48,6 +49,13 @@ class TaskGroup(TaskMixin):
     :type parent_group: TaskGroup
     :param dag: The DAG that this TaskGroup belongs to.
     :type dag: airflow.models.DAG
+    :param default_args: A dictionary of default parameters to be used
+        as constructor keyword parameters when initialising operators.
+        Note that operators have the same hook, and precede those defined

Review comment:
       Can we also add a note here that this will overwrite the `default_args` defined in the DAG level?




-- 
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.

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