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

Connected

övning

Adding Human approval

While working on a workflow, your boss mentions there have been issues with the data being posted to the sales team's analytics database. They want to be sure that the sales data looks good prior to posting it to a data warehouse. You realize that a HITL Approval step is a good option to add a last check prior to data insertion.

The dag, task, and timedelta objects have all been imported for you.

Instruktioner

100 XP
  • Import the appropriate library to create an Approve / Reject task.
  • Create the approve_gate approval task.
  • Set the title for the approval request that will appear to the reviewer in the Airflow UI.