1. Обучение
  2. /
  3. Курса
  4. /
  5. Introduction to Apache Airflow in Python

Connected

упражнение

More @tasks

To continue implementing your workflow, you need to add another step to parse and save the changes of the downloaded file. The Dag process_sales is defined and has the pull_file task already added. In this case, the Python function is already defined for you, parse_file(inputfile, outputfile).

Note that often when implementing Airflow tasks, you won't necessarily understand the individual steps given to you. As long as you understand how to wrap the steps within Airflow's structure, you'll be able to implement a desired workflow.

Инструкции

100 XP
  • Create an Airflow task using the parse_file method.
  • Call the task with the necessary arguments.