alexInhert commented on a change in pull request #18610:
URL: https://github.com/apache/airflow/pull/18610#discussion_r721339788



##########
File path: airflow/models/baseoperator.py
##########
@@ -502,7 +502,7 @@ def __init__(
         pool: Optional[str] = None,
         pool_slots: int = 1,
         sla: Optional[timedelta] = None,
-        execution_timeout: Optional[timedelta] = None,
+        execution_timeout: Optional[timedelta] = conf.gettimedelta('core', 
'default_ execution_timeout', fallback=None),    

Review comment:
       execution_timeout accept timedelta object. You are reading value from a 
configuration file you need to convert it into the object.




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