Skip to content

Commit 1934db4

Browse files
committed
docs: improve TimeDeltaSensor documentation with deferrable mode reference
- Remove separate TimeDeltaSensorAsync documentation section - Add reference to official deferring documentation - Show both sync and deferrable examples using TimeDeltaSensor Related: #59644
1 parent f84fd65 commit 1934db4

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

providers/standard/docs/sensors/datetime.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,13 @@ TimeDeltaSensor
2424

2525
Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensor` to end sensing after specific time.
2626

27-
2827
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_sensors.py
2928
:language: python
3029
:dedent: 4
3130
:start-after: [START example_time_delta_sensor]
3231
:end-before: [END example_time_delta_sensor]
3332

34-
35-
.. _howto/operator:TimeDeltaSensorAsync:
36-
37-
TimeDeltaSensorAsync
38-
====================
39-
40-
Use the :class:`~airflow.providers.standard.sensors.time_delta.TimeDeltaSensorAsync` to end sensing after specific time.
41-
It is an async version of the operator and requires Triggerer to run.
42-
33+
To run the sensor in deferrable mode, set ``deferrable=True``. See :ref:`concepts:deferring` for more information.
4334

4435
.. exampleinclude:: /../src/airflow/providers/standard/example_dags/example_sensors.py
4536
:language: python

0 commit comments

Comments
 (0)