potiuk commented on a change in pull request #6601: [AIRFLOW-6010] Remove
cyclic imports and pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r349906294
##########
File path: airflow/models/baseoperator.py
##########
@@ -381,7 +378,7 @@ def __init__(
self.retry_delay = retry_delay
else:
self.log.debug("Retry_delay isn't timedelta object, assuming secs")
- self.retry_delay = timedelta(seconds=retry_delay)
+ self.retry_delay = timedelta(seconds=retry_delay.seconds)
Review comment:
Indeed. I have to read the comments.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services