uranusjr commented on a change in pull request #16732:
URL: https://github.com/apache/airflow/pull/16732#discussion_r664974960
##########
File path: airflow/models/baseoperator.py
##########
@@ -1595,11 +1652,14 @@ def chain(*tasks: Union[BaseOperator,
Sequence[BaseOperator]]):
def cross_downstream(
- from_tasks: Sequence[BaseOperator], to_tasks: Union[BaseOperator,
Sequence[BaseOperator]]
+ from_tasks: Union[Sequence[BaseOperator], Sequence["XComArg"]],
+ to_tasks: Union[Sequence[BaseOperator], Sequence["XComArg"]],
Review comment:
Good catch, you’re right, these are heterogeneous lists, not two
possible homogeneous lists.
--
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]