argo-client-python icon indicating copy to clipboard operation
argo-client-python copied to clipboard

limit disappeared in retry strategy

Open jendrikjoe opened this issue 4 years ago • 1 comments

It seems that the limit keyword disappeared from the retry strategy. Looking at the argo retry example it should still exists though. Did I miss a change, or is this a bug? 🙂

The following fails in 5.0.0, but works in 3.6.1. (4.0.0 seems to be missing all the imports, but that is a bug for another time)

from argo.workflows import client
retry_strategy = client.V1alpha1RetryStrategy(retry_policy="Always", limit=4)

Any input would be greatly appreciated 🙂

jendrikjoe avatar Feb 04 '21 10:02 jendrikjoe

This seems like a bug indeed. get_workflow_template() does not parse limit field although the field exists in the template.

sonowz avatar Jun 16 '21 08:06 sonowz