Hi

the airflow initdb failed if dags  file in dag folder reference undefined
Variables

like that:


* from airflow.models import Variable*
*from airflow import DAG*
* env = Variable.get('RS_ENV') #Note: RS_ENV is undefined*

*dag = DAG()*
*....*

it seems that airflow would  load the dag files after  airflow init
metadata. it seems that this action should init metadata db only,  but  i
don't understand
why the airflow must be load the dag files.

thanks!

Reply via email to