642 B
Executable File
642 B
Executable File
A task in the context of airflow is the basic unit of execution. They are arranged into Airflow Dags and then have upstream and downstream dependencies set between them in order to express the order in which they should be run.
There are three kinds of tasks:
- Operators: they are predefined task templates that you can string together quickly.
- Sensors: special subclass of operators, which are entirely about waiting for an external event to happen.
- A Taskflow-decorated @task, which is a custom python function packaged as a task.