1. Learn
  2. /
  3. Kurser
  4. /
  5. Introduction to Apache Airflow in Python

Connected

övning

Creating a simple Dag

You've spent some time reviewing the Airflow components and are interested in testing out your own workflows. To start, you decide to define the default parameters and create a Dag object for your workflow.

The datetime object has been imported for you.

Instruktioner

100 XP
  • Import the Airflow Dag object; note that it is case-sensitive.
  • Define the Dag decorator and name the Dag example_etl.
  • Run the Dag function at the end of the code file.