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

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Old asset is also displayed on the UI after updating the method name 
decorated by an asset decorator
   
   <img width="1707" alt="Image" 
src="https://github.com/user-attachments/assets/46de77aa-64a9-4335-a681-32ff00ca4a73";
 />
   
   <img width="1434" alt="Image" 
src="https://github.com/user-attachments/assets/a6624fee-8a20-42f4-8099-fccca99e5333";
 />
   
   ### What you think should happen instead?
   
   Only latest asset should be displayed on the UI
   
   ### How to reproduce
   
   1. Trigger the below DAG:
   
   ```python
   @asset(schedule=None)
   def abc():
       pass
   ``` 
   
   2. Notice an asset is created on thr asset page by name 'abc'
   3. Update the method name from abc to abcde and trigger the Dag again.
   4. See 2 assets 'abc' and 'abcde' on assets page on UI.
   
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to