uranusjr commented on code in PR #32027:
URL: https://github.com/apache/airflow/pull/32027#discussion_r1236606532
##########
airflow/models/xcom_arg.py:
##########
@@ -370,6 +370,13 @@ def resolve(self, context: Context, session: Session =
NEW_SESSION) -> Any:
return result
if self.key == XCOM_RETURN_KEY:
return None
+ if self.operator.multiple_outputs: # type: ignore
Review Comment:
Sounds like using `getattr(self.operator, "multiple_outputs", False)` would
be fine here; if the operator does not support `multiple_outputs` the block
does not matter anyway.
--
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]