I’ve completed the steps in Lab 1 but my DAG is not being recognized in Airflow. The aws s3 sync command ran successfully and I could see it in my DAG S3 bucket. I waited > 15min and ran the restart_airflow.sh script successfully and waited another 15min.
Hello @brian_mac
This might be due to a faulty DAG declaration at the end of your python file. Did you compare your book_of_the_day.py
file with the provided solution to see if anything’s wrong?
Great call, @Amir_Zare. I was incorrectly passing in the function names, including the parenthesis, for the python_callable arguments.
Hello @Amir_Zare and @brian_mac is there a sample solution for the template.py and alike? I have been all over and over again and cannot spot where the mistake is coming from.
Hello @amiguel
Are you talking about the same lab? There’s no template.py
file in this lab.
Reading through the instructions on the .md file, there is a requirement to reproduce a template.py file and some other code arrangements
@amiguel the original post was about another lab.
There are no solution files available for the lab you are referring to as it is an assignment lab. The grader report says the DAGs cannot be find in the DAGs bucket. Did you run step 6, which syncs the DAGs you have created with the bucket?