reserialize

Definition

Drops all serialized DAGs from the metadata DB. This will cause all DAGs to be re-serialized from the DAG folder.

This can be helpful if serialized DAGs get out of sync with the version of Airflow that you are running.

Usage

$ airflow dags reserialize [-h] [--clear-only] [-S SUBDIR] [-v]

Arguments

Parameter Description

--clear-only

If passed, serialized DAGs will be cleared but not re-serialized

-S, --subdir

File or directory location for DAGs. Defaults to [AIRFLOW_HOME]/dags, where [AIRFLOW_HOME] is the value set for AIRFLOW_HOME config in airflow.cfg

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Found a mistake? Seleсt text and press Ctrl+Enter to report it