1. 학습
  2. /
  3. 강의
  4. /
  5. Python으로 배우는 Apache Airflow 입문

Connected

연습 문제

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.

지침

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.