1. Learn
  2. /
  3. Courses
  4. /
  5. Python으로 배우는 Apache Airflow 입문

Connected

Exercise

Define order of Tasks

Now that you've learned about the bitshift syntax, it's time to define the task ordering. You have three currently defined tasks, cleanup, consolidate, and push_data.

The dag and task decorators from airflow.sdk are already imported.

Instructions

100 XP
  • Configure the cleanup task to run first before the consolidate task, using the bitshift syntax.
  • Configure consolidate to run next and the push_data task to run last.