Parameter | Type | Default | Description |
---|---|---|---|
dags_dir | Path or str | None | Directory for DAG files |
enable_save_dag_file | bool | True | Enables functionality to save Airflow DAG files |
enable_read_dag_file | bool | True | Enables functionality to read Airflow DAG files |
all | bool | False | Enables all functionality when set to True |
Function | Description |
---|---|
save_dag_file | Saves python code for an Airflow DAG to a file |
read_dag_file | Reads an Airflow DAG file and returns the contents |