airflow.providers.celery.sensors.celery_queue
¶
Module Contents¶
Classes¶
Waits for a Celery queue to be empty. |
- class airflow.providers.celery.sensors.celery_queue.CeleryQueueSensor(*, celery_queue, target_task_id=None, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits for a Celery queue to be empty.
By default, in order to be considered empty, the queue must not have any tasks in the
reserved
,scheduled
oractive
states.- Parameters