hussein-awala commented on code in PR #27597:
URL: https://github.com/apache/airflow/pull/27597#discussion_r1019596600
##########
airflow/sensors/base.py:
##########
@@ -122,6 +135,7 @@ def __init__(
self.timeout = timeout
self.mode = mode
self.exponential_backoff = exponential_backoff
+ self.max_wait = max_wait if max_wait is None else
coerce_timedelta(max_wait, key="max_retry_delay")
Review Comment:
while this method is used only for `max_wait`, I deleted the argument `key`
and I renamed the method to `_coerce_max_wait`
--
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]