Skip to content

Merge TimeDeltaSensorAsync to TimeDeltaSensor #50811

@eladkal

Description

@eladkal

Body

We currently have TimeDeltaSensorAsync and TimeDeltaSensor.
The use case of TimeDeltaSensorAsync should be included in TimeDeltaSensor.

The Task:
There might have been some details that prevented merging these two classes before. Part of this task is to understand how we should do it in the least disruptive way (backward compatible) and provide easy to understand interface moving forward.

  1. Deprecate TimeDeltaSensorAsync
  2. Move the logic of TimeDeltaSensorAsync into TimeDeltaSensor(..., defer=True), examples can be found all over the source code for the defer behavior.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions