jameshyphen commented on code in PR #51133:
URL: https://github.com/apache/airflow/pull/51133#discussion_r2112672334


##########
providers/standard/src/airflow/providers/standard/sensors/time_delta.py:
##########
@@ -52,16 +54,21 @@ class TimeDeltaSensor(BaseSensorOperator):
     otherwise run_after will be used.
 
     :param delta: time to wait before succeeding.
+    :param deferrable: Run sensor in deferrable mode. If set to True, task 
will defer itself to avoid taking up a worker slot while it is waiting.
 
     .. seealso::
         For more information on how to use this sensor, take a look at the 
guide:
         :ref:`howto/operator:TimeDeltaSensor`
 
     """
 
-    def __init__(self, *, delta, **kwargs):
+    def __init__(
+        self, *, delta: timedelta, deferrable: bool = False, end_from_trigger: 
bool = False, **kwargs

Review Comment:
   Edit: I've reinitialized my project through breeze and now it seems to be 
behaving correctly. Resolving!



-- 
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]

Reply via email to