airflow.sensors.time_sensor
¶
Module Contents¶
Classes¶
Waits until the specified time of the day. |
|
Waits until the specified time of the day. |
- class airflow.sensors.time_sensor.TimeSensor(*, target_time, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits until the specified time of the day.
- Parameters
target_time (datetime.time) – time after which the job succeeds
See also
For more information on how to use this sensor, take a look at the guide: TimeSensor
- class airflow.sensors.time_sensor.TimeSensorAsync(*, target_time, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits until the specified time of the day.
This frees up a worker slot while it is waiting.
- Parameters
target_time (datetime.time) – time after which the job succeeds
See also
For more information on how to use this sensor, take a look at the guide: TimeSensorAsync