Hello Team, In python task, when we set retries, t...
# flyte-support
i
Hello Team, In python task, when we set retries, the user error or if any api in code returns 5XX or 4XX then the task should retry right but right now it is considered as non recoverable error, so how can we also force the task to also retry for non recoverable errors?
f
Are you asking how to recover from a non recoverable error
irony in the sentence
n
No, basically what we want is if the user code raises an error. It can be a 5xx due to an external dependency. We just want it to be retried. Those errors can be intermittent at times (dependent on external factors).
On very similar lines to this: https://github.com/flyteorg/flyte/issues/1356