Files
org_roam/Career Concepts/20251229180156-airflow_tasks.org
Zaine e2e4972123
All checks were successful
Build Roam Site / build (push) Successful in 28s
gitea runners
2026-05-06 15:26:35 +01:00

807 B
Executable File

Airflow Tasks

A task in the context of airflow is the basic unit of execution. They are arranged into 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:

  1. Operators: they are predefined task templates that you can string together quickly.
  2. Sensors: special subclass of operators, which are entirely about waiting for an external event to happen.
  3. A Taskflow-decorated @task, which is a custom python function packaged as a task.

See this