You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/07/07 13:17:44 UTC
[airflow] 02/04: Add explanation about tag creation and cleanup (#32406)
This is an automated email from the ASF dual-hosted git repository.
ephraimanierobi pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 00af0834195f24dfb551152624a02a333f9e21dd
Author: eladkal <45...@users.noreply.github.com>
AuthorDate: Fri Jul 7 11:19:27 2023 +0300
Add explanation about tag creation and cleanup (#32406)
* Add explanation about tag creation and cleanup
(cherry picked from commit b1c1f97744e735c5230fc658cf8deb71aa770f9b)
---
docs/apache-airflow/howto/add-dag-tags.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/apache-airflow/howto/add-dag-tags.rst b/docs/apache-airflow/howto/add-dag-tags.rst
index 7e75cec734..5b7db76229 100644
--- a/docs/apache-airflow/howto/add-dag-tags.rst
+++ b/docs/apache-airflow/howto/add-dag-tags.rst
@@ -38,3 +38,7 @@ In your Dag file, pass a list of tags you want to add to DAG object:
**Screenshot**:
.. image:: ../img/add-dag-tags.png
+
+Tags are registered as part of dag parsing.
+In case of stale tags, you can purge old data with the Airflow CLI command ``airflow db clean``.
+See :ref:`db clean usage<cli-db-clean>` for more details.