ReadytoRocc opened a new issue #20468:
URL: https://github.com/apache/airflow/issues/20468


   ### Apache Airflow version
   
   2.2.3 (latest released)
   
   ### What happened
   
   When removing the `tags` argument from a DAG, the tags are not removed. You 
need to set `tags=[]` to remove them.
   
   ### What you expected to happen
   
   I would expect that if you remove the `tags` argument from the `DAG` 
definition, all tags would be removed from the DAG.
   
   ### How to reproduce
   
   Add `tags=["foo"]` to your `DAG` definition, and then remove the argument 
entirely. The `DAG` should still have tag `foo` in the UI. You should see the 
tag removed once you set `tags=[]`.
   
   ### Operating System
   
   Debian GNU/Linux 11 (bullseye)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   Astronomer CLI Docker based deployment.
   
   ### 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