Taragolis commented on code in PR #37602:
URL: https://github.com/apache/airflow/pull/37602#discussion_r1498298023


##########
airflow/models/xcom.py:
##########
@@ -131,6 +131,12 @@ def init_on_load(self):
         self.value = self.orm_deserialize_value()
 
     def __repr__(self):
+        """Return the XCom properties.

Review Comment:
   `__repr__` is stand for string representation
   `__str__` is also sting representation, however it usual use when you need 
to convert object to string (every object in Python in theory should be 
convertable to sting), e.g. `str(object)` or `f"Foo Bar {object}"`
   
   https://docs.python.org/3/reference/datamodel.html#object.__repr__



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to