gopidesupavan commented on code in PR #53047:
URL: https://github.com/apache/airflow/pull/53047#discussion_r2194350134


##########
task-sdk/src/airflow/sdk/definitions/taskgroup.py:
##########
@@ -613,7 +614,7 @@ class MappedTaskGroup(TaskGroup):
     a ``@task_group`` function instead.
     """
 
-    def __init__(self, *, expand_input: SchedulerExpandInput, **kwargs: Any) 
-> None:
+    def __init__(self, *, expand_input: SchedulerExpandInput | ExpandInput, 
**kwargs: Any) -> None:

Review Comment:
   The MappedTaskGroup is being called here with DictOfListsExpandInput i think 
it makes sense to add that isnt it?
   
   
https://github.com/apache/airflow/blob/5fbbf641b329d41fd87d7f5a720e86c8a4e4d46d/task-sdk/src/airflow/sdk/definitions/decorators/task_group.py#L138-L145
   
   Similarly with ListOfDictsExpandInput
   
   
https://github.com/apache/airflow/blob/5fbbf641b329d41fd87d7f5a720e86c8a4e4d46d/task-sdk/src/airflow/sdk/definitions/decorators/task_group.py#L171-L178



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

Reply via email to