stevenschaerer commented on code in PR #37498: URL: https://github.com/apache/airflow/pull/37498#discussion_r1523497837
########## airflow/models/baseoperator.py: ########## @@ -826,6 +827,8 @@ def __init__( self.task_id = task_group.child_id(task_id) if task_group else task_id if not self.__from_mapped and task_group: task_group.add(self) + if isinstance(task_group, MappedTaskGroup): + self.deps = self.deps | {MappedTaskUpstreamDep()} Review Comment: I have now added `MappedTaskUpstreamDep` to the default deps of the `BaseOperator`. Please let me know what you think. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org