turbaszek commented on a change in pull request #12327:
URL: https://github.com/apache/airflow/pull/12327#discussion_r522474998



##########
File path: airflow/models/xcom.py
##########
@@ -63,7 +63,7 @@ def init_on_load(self):
         i.e automatically deserialize Xcom value when loading from DB.
         """
         try:
-            self.value = XCom.deserialize_value(self)
+            self.value = XCom.orm_deserialize_value(self)

Review comment:
       @kaxil this will not help as custom backends can perform any logic in 
this function and return any type of object (that was initial issues #12315 ). 
So doing a query on XCom may cause tenths of requests :D That's why I wanted to 
decouple it.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to