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


##########
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:
   Missed this. Modified the code to retrieve tuple while serialising a tuple. 
   We are fetching the value of `__data__` key from the dict as serialising the 
tuple gives a dict in this case. 



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