airflow.decorators
Submodules
- airflow.decorators.base
- airflow.decorators.branch_python
- airflow.decorators.external_python
- airflow.decorators.python
- airflow.decorators.python_virtualenv
- airflow.decorators.sensor
- airflow.decorators.setup_teardown
- airflow.decorators.short_circuit
- airflow.decorators.task_group
Package Contents
Classes
| Type declaration for |
Implementation to provide the |
Functions
| Wraps a python function into a BranchPythonOperator. |
| Wraps a callable into an Airflow operator to run via a Python virtual environment. |
| Wraps a function into an Airflow operator. |
| Wraps a callable into an Airflow operator to run via a Python virtual environment. |
| Wraps a function into an Airflow operator. |
| Wraps a function into an ShortCircuitOperator. |
Implements the | |
| Python dag decorator. Wraps a function into an Airflow DAG. |
Attributes
class airflow.decorators.TaskDecoratorCollection[source]
Implementation to provide the @task
syntax.
python[source]
virtualenv[source]
external_python[source]
branch[source]
short_circuit[source]
sensor[source]
__call__: Any[source]
__getattr__(name)[source]
Dynamically get provider-registered task decorators, e.g.
@task.docker
.
airflow.decorators.task[source]
airflow.decorators.setup: Callable[source]
airflow.decorators.teardown: Callable[source]