uranusjr commented on code in PR #52325: URL: https://github.com/apache/airflow/pull/52325#discussion_r2303246816
########## airflow-core/src/airflow/api_fastapi/core_api/routes/public/xcom.py: ########## @@ -93,7 +93,7 @@ def get_xcom_entry( # We use `BaseXCom.get_many` to fetch XComs directly from the database, bypassing the XCom Backend. # This avoids deserialization via the backend (e.g., from a remote storage like S3) and instead # retrieves the raw serialized value from the database. - result = xcom_query.limit(1).first() + result = session.scalars(xcom_query).first() Review Comment: ```suggestion result = session.scalar(xcom_query.limit(1)) ``` -- 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