Need to set tags=[]
to remove all tags from a DAG.
#20468
Labels
Milestone
tags=[]
to remove all tags from a DAG.
#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 settags=[]
to remove them.What you expected to happen
I would expect that if you remove the
tags
argument from theDAG
definition, all tags would be removed from the DAG.How to reproduce
Add
tags=["foo"]
to yourDAG
definition, and then remove the argument entirely. TheDAG
should still have tagfoo
in the UI. You should see the tag removed once you settags=[]
.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?
Code of Conduct
The text was updated successfully, but these errors were encountered: