Operators

An operator is a ready-made task template in Airflow that encapsulates a specific action: running a command, calling Python, running SQL, triggering an external service. Instantiated in a DAG, it becomes a task. Specialized operators are provided by provider packages.

Example

BashOperator(task_id='extraire', bash_command='python extract.py')

Related concepts

The whole glossary