Get startedGet started for free

Troubleshooting DAG dependencies

You've created a DAG with intended dependencies based on your workflow but for some reason Airflow won't load / execute the DAG. Try using the terminal to:

  • Run the airflow dags command to see all subcommands available. Look for a subcommand to read errors and run it.
  • Decipher the error message.
  • Use cat workspace/dags/codependent.py to view the Python code.
  • Determine which of the following lines should be removed from the Python code.

This exercise is part of the course

Introduction to Apache Airflow in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise