atul-astronomer opened a new issue, #49394:
URL: https://github.com/apache/airflow/issues/49394

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Asset extra field is displayed on Asset page but not on dag page
   
   
![Image](https://github.com/user-attachments/assets/14e6075c-0ad1-4b6a-86d0-55b97bceee0a)
   
   
![Image](https://github.com/user-attachments/assets/c2d79cf7-6f6c-463e-80c8-88b3543ba028)
   
   
![Image](https://github.com/user-attachments/assets/5bc12e2d-a548-45f9-a6ed-3db816d4d06c)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Use the below Dag to create an asset event with extra and see extra field 
data is displayed on asset page but not on dag page.
   
   ```python
   from datetime import datetime, timedelta
   
   from airflow.sdk import Asset
   from airflow.sdk.definitions.asset.metadata import Metadata
   # from airflow.sdk.metadata import Metadata
   from airflow.decorators import task
   from airflow.sdk import DAG
   
   outlet = Asset('asset_outlet')
   ten_days_ago = datetime.now() - timedelta(days=10)
   
   with DAG(
       dag_id="test_asset_event_producer",
       start_date=ten_days_ago,
       schedule='@daily',
       tags=["asset", "AIP-74"],
       is_paused_upon_creation=False,
       catchup=True
   ) as dag:
       @task(outlets=[outlet])
       def asset_with_extra_by_yield2():
           yield Metadata(outlet, {"hi": "bye2"})
   
       asset_with_extra_by_yield2()
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to