airflow python script is just a configuration file specifying the DAG‘s structure as code. The script‘s purpose is to define a DAG object.
import modules.
default arguments: pass a set of arguments to each task‘s constructor.
Instantiate a DAG:
原文:https://www.cnblogs.com/dulun/p/12707442.html