bbovenzi commented on issue #49456:
URL: https://github.com/apache/airflow/issues/49456#issuecomment-2847687924

   This is what we get from the API:
   
   ```
   {
     "key": "return_value",
     "timestamp": "2025-05-02T16:52:15.606382Z",
     "logical_date": "2025-05-02T16:52:11.453000Z",
     "map_index": -1,
     "task_id": "push_class",
     "dag_id": "xcom_push_class",
     "run_id": "manual__2025-05-02T16:52:13.114516+00:00",
     "value": "{'__data__': {'path': 'file:///tmp/foo', 'kwargs': {}, 
'conn_id': None}, '__version__': 1, '__classname__': 
'airflow.sdk.io.path.ObjectStoragePath'}"
   }
   ```
   
   What do we want to change? We can not pass `stringify: true`, but I can't 
see how that would help:
   
   ```
   {
       "key": "return_value",
       "timestamp": "2025-05-02T16:52:15.606382Z",
       "logical_date": "2025-05-02T16:52:11.453000Z",
       "map_index": -1,
       "task_id": "push_class",
       "dag_id": "xcom_push_class",
       "run_id": "manual__2025-05-02T16:52:13.114516+00:00",
       "value": {
           "__data__": {
               "path": "file:///tmp/foo",
               "kwargs": {},
               "conn_id": null
           },
           "__version__": 1,
           "__classname__": "airflow.sdk.io.path.ObjectStoragePath"
       }
   }
   ```


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