Week 4 - Final Grade programming assignment 4

Hello!

I have problems with two issues.
The first one, 4.4 Defining the DAG Dependencies, when you are using “decorator”. How should the task invoked in the dependency definition?
The second issue, 5.1.2 when you use “template.py”, this is just plain text template, not valid python syntax?
I would really appreciate your help.
Luis Millao

Hello @lumillao
I’m not sure if I’m understanding your first question, but there is no difference in dependency definition in this case. You can use task1 >> task2 >> task3 to state that the tasks need to run in a sequence.
As for your second question, you are right. template.py is not runnable by python as it is. We first need to generate valid python files from this template, and then we can run the generated files.