diff --git a/clients/python/src/objectstore_client/client.py b/clients/python/src/objectstore_client/client.py index 579e9e3b..7654a70e 100644 --- a/clients/python/src/objectstore_client/client.py +++ b/clients/python/src/objectstore_client/client.py @@ -168,7 +168,7 @@ def __init__( connection_kwargs_to_use = asdict(_ConnectionDefaults()) - if retries: + if retries is not None: connection_kwargs_to_use["retries"] = urllib3.Retry( connect=retries, # we only retry connection problems, as we cannot rewind our