amoghrajesh commented on code in PR #46719:
URL: https://github.com/apache/airflow/pull/46719#discussion_r1954368531
##########
airflow/api_fastapi/execution_api/routes/xcoms.py:
##########
@@ -215,7 +216,8 @@ def set_xcom(
# TODO: This is in-efficient. We json.loads it here for BaseXCom.set to
then json.dump it!
try:
- json.loads(value)
+ # Keep this as long as we do BaseXCom.set(), it serialises again
Review Comment:
Its the BaseXcom.set doing it:
https://github.com/apache/airflow/blob/main/airflow/models/xcom.py#L185-L192 I
think here.
--
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]