I am using apache-airflow==1.10.0
I get errors that looks like this:
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) relation "variable" does not exist
LINE 2: FROM variable
When I declare tasks like:
from airflow.models import Variable
dag = DAG('dag')
PythonOperator('task_id', ratio=Variable.get('ratio'), dag=dag)
because I don't have a Variable table yet. I get errors that don't affect anything, but how can I prevent this from happening?