Airflow AttributeError: ‘NoneType’ object has no attribute ‘create_dagrun
Author: Omid Vahdaty 14.11.2019
If you are getting the below error while running a DAG in Airflow:
AttributeError: 'NoneType' object has no attribute 'create_dagrun'
Possible reasons:
- File system is not available (GCS/s3/linux file system). Try to see if the Python file exists.
- If there is a syntax error in Python file, Airflow may treat it as non existent.
——————————————————————————————————————————
I put a lot of thoughts into these blogs, so I could share the information in a clear and useful way.
If you have any comments, thoughts, questions, or you need someone to consult with,
feel free to contact me via LinkedIn: