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


##########
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.models.xcom.XComModel` class and can be accessed as 
``XCom.XCOM_RETURN_KEY`` or imported from ``airflow.models.xcom``. The old 
``airflow.utils.xcom`` module has been removed, but backward compatibility is 
maintained through deprecation shims.

Review Comment:
   Something like this?
   
   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``. The old ``airflow.utils.xcom`` module has been 
removed, but backward compatibility is maintained through deprecation shims.
   



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