atul-astronomer opened a new issue, #46831: URL: https://github.com/apache/airflow/issues/46831
### Apache Airflow version 3.0.0a1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? If user is trying the update the asset group which was already defined, then its not getting updated. Asset definition while creation: `left = Asset(name='asset_name')` - This goes by default in the asset group Updating definition: left = Asset(name='asset_name', group='Dataset') - This should update the asset group from asset to dataset. <img width="1011" alt="Image" src="https://github.com/user-attachments/assets/0df36539-8a5f-49ed-8689-e57981cc8778" /> <img width="1060" alt="Image" src="https://github.com/user-attachments/assets/d64a0c08-c1c9-460a-b756-7a1b3fdfd091" /> <img width="1106" alt="Image" src="https://github.com/user-attachments/assets/92057e9b-e531-481b-9819-6f3ab0aeeb08" /> ### What you think should happen instead? The asset group should be updated as per the asset definition ### How to reproduce 1. Create an asset where group is not specified. `Asset(name='asset_name')` 2. Update the group parameter in the asset definition. `Asset(name='asset_name', group='Dataset')` 3. Check the 'Get Asset 'API response and DB record in 'asset' table . ### 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]
