amoghrajesh opened a new issue, #49456:
URL: https://github.com/apache/airflow/issues/49456

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When you have a task that pushes a non native object to xcoms, the UI 
displays it in an encoded format. 
   This is only the display aspect of it, it does not affect exection.
   
   ### What you think should happen instead?
   
   It should display in a more readable way, like in AF2
   
   ### How to reproduce
   
   Have a dag that pushes non native object like a class:
   
   ```
   from airflow.sdk import ObjectStoragePath
   from airflow import DAG
   from airflow.providers.standard.operators.python import PythonOperator
   
   def push_class(**kwargs):
       value = ObjectStoragePath("file:///tmp/foo")
       return value
   
   with DAG(
       'xcom_push_class',
       schedule=None,
       catchup=False,
   ) as dag:
   
       push_xcom_task = PythonOperator(
           task_id='push_class',
           python_callable=push_class,
       )
   
       push_xcom_task
   
   ```
   
   Observe the pushed Xcom
   
   
![Image](https://github.com/user-attachments/assets/755416dd-08b8-4f64-be4b-82cec1fedd2d)
   
   ### Operating System
   
   MacOS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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