Python File - DAG Boilerplate

Now our python file is much simpler. All we do is reference our dag-factory library and the config file that we defined in the YAML file section.

Python File

Example python file

To demonstrate how our no-code DAG can run pre-built python tasks we include a simple hello world python script:

Example python task

And that’s all we need to generate our DAGs based on our YAML file.