uranusjr commented on issue #16618:
URL: https://github.com/apache/airflow/issues/16618#issuecomment-879670664


   But wouldn’t `my_op.output.some_xcom_key` also be problematic if the xcom 
return value is a custom object? Although indeed there would have been 
significantly fewer edge cases.
   
   At this point, maybe the best solution would be to deprecate accessing 
`my_op.output` directly, and require doing somethign else to get the default 
return value, say `my_op.output[None]` or `my_op.return_value`?


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