amoghrajesh commented on code in PR #58356:
URL: https://github.com/apache/airflow/pull/58356#discussion_r2575680317


##########
airflow-core/docs/core-concepts/xcoms.rst:
##########
@@ -49,6 +49,8 @@ Many operators will auto-push their results into an XCom key 
called ``return_val
     # Pulls the return_value XCOM from "pushing_task"
     value = task_instance.xcom_pull(task_ids='pushing_task')
 
+The return_value key is defined as a constant XCOM_RETURN_KEY in the 
:class:`~airflow.sdk.bases.xcom.BaseXCom` class and can be accessed as 
BaseXCom.XCOM_RETURN_KEY.

Review Comment:
   ```suggestion
   The return_value key (default key with which xcoms are pushed) is defined as 
a constant XCOM_RETURN_KEY in the :class:`~airflow.sdk.bases.xcom.BaseXCom` 
class and can be accessed as BaseXCom.XCOM_RETURN_KEY.
   ```



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