zerodarkzone commented on issue #53591:
URL: https://github.com/apache/airflow/issues/53591#issuecomment-3113418483
Hi @jroachgolf84
I'm not sure but I think that `TimeSensor` with `deferable=False` is also
broken.
This is the code:
```
def execute(self, context: Context) -> None:
if self.deferrable:
self.defer(
trigger=DateTimeTrigger(
moment=self.target_datetime, # This needs to be an
aware timestamp
end_from_trigger=self.end_from_trigger,
),
method_name="execute_complete",
)
```
If deferrable is False, `execute` just returns and the sensor just finishes
without waiting anything.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]