vshabarish commented on issue #14252:
URL: https://github.com/apache/airflow/issues/14252#issuecomment-819716255


   > Isn’t the `retries` value supposed to be an int? The repro above has
   > 
   > ```python
   >  @dag.task(default_args={'retries': '2', 'retry_delay': 
timedelta(minutes=30)})
   > ```
   > 
   > Which is the cause to the exception, if I’m not mistaken.
   > 
   > That said, Airflow should probably be more resilient against user issue 
like this. Probably set the value to default with a warning?
   
   Excellent, it is working for us by changing the str to int at retries. 
Thanks much for the help !! 


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


Reply via email to