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 2021/09/16 12:26:58 UTC

[GitHub] [airflow] ashb commented on a change in pull request #18274: Make `XCom.get_one` return full, not abbreviated values

ashb commented on a change in pull request #18274:
URL: https://github.com/apache/airflow/pull/18274#discussion_r710067831



##########
File path: airflow/models/xcom.py
##########
@@ -182,6 +189,9 @@ def get_many(
 
         ``run_id`` and ``execution_date`` are mutually exclusive.
 
+        This function returns an SQLAlchemy query of full XCom objects. If you just want one stored value then
+        use :meth:`get_one`.

Review comment:
       I think a more whole-sale reworking of this to make the serde handled automatically is in order, so I'm going to leave this as is for now.




-- 
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-unsubscribe@airflow.apache.org

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