ashb commented on code in PR #47439:
URL: https://github.com/apache/airflow/pull/47439#discussion_r1984648791


##########
task_sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -364,6 +364,7 @@ def _xcom_push(ti: RuntimeTaskInstance, key: str, value: 
Any, mapped_length: int
     # It is responsibility of the client to handle any non native object 
serialization.
     # serialize does just that.
     value = serialize(value)
+    value = value["__data__"] if isinstance(value, dict) and "__data__" in 
value else value

Review Comment:
   In short, we shouldn't be manually pulling things out of the dict, but using 
the deser functions 



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