1. Nauka
  2. /
  3. Kursy
  4. /
  5. Introduction to Apache Airflow in Python

Connected

ćwiczenie

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.

Instrukcje

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.