josh-fell commented on code in PR #29445:
URL: https://github.com/apache/airflow/pull/29445#discussion_r1103234842
##########
airflow/decorators/base.py:
##########
@@ -295,8 +296,25 @@ class _TaskDecorator(ExpandableFactory, Generic[FParams,
FReturn, OperatorSubcla
@multiple_outputs.default
def _infer_multiple_outputs(self):
+ if "return" not in self.function.__annotations__:
Review Comment:
Yep this is better.
--
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]