You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/13 11:02:43 UTC
[GitHub] [airflow] ashb commented on a change in pull request #12327: Use different deserialization method in XCom init_on_load
ashb commented on a change in pull request #12327:
URL: https://github.com/apache/airflow/pull/12327#discussion_r522879651
##########
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:
I think either way we should make this a `self.` call
```suggestion
self.value = self.orm_deserialize_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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org