ashb commented on code in PR #71314:
URL: https://github.com/apache/airflow/pull/71314#discussion_r3811555735


##########
providers/standard/src/airflow/providers/standard/sensors/time_delta.py:
##########
@@ -70,6 +72,12 @@ def __init__(
         self.deferrable = deferrable
         self.end_from_trigger = end_from_trigger
 
+    def _resolve_delta(self) -> timedelta:
+        value = self.delta
+        if isinstance(value, timedelta):
+            return value
+        return timedelta(minutes=int(value))

Review Comment:
   > I don't understand why you talk about pendum Duration ?
   
   Durations/ISO8601 Periods can be represented as plain text, and so are easy 
to handle via templates. 



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