uranusjr commented on code in PR #23655:
URL: https://github.com/apache/airflow/pull/23655#discussion_r873049437


##########
airflow/models/baseoperator.py:
##########
@@ -767,7 +767,13 @@ def __init__(
         self.email = email
         self.email_on_retry = email_on_retry
         self.email_on_failure = email_on_failure
+
+        if execution_timeout and not isinstance(execution_timeout, timedelta):

Review Comment:
   ```suggestion
           if execution_timeout is not None and not 
isinstance(execution_timeout, timedelta):
   ```



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