You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/14 02:39:48 UTC

[GitHub] [airflow] uranusjr commented on issue #14252: Unable to clear Failed task with retries

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


   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?


-- 
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:
users@infra.apache.org