Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ get_retries
Method
get_retries
redis/retry.py:63–67 ·
view source on GitHub ↗
Get the number of retries.
(self)
Source
from the content-addressed store, hash-verified
61
)
62
63
def
get_retries(self) -> int:
64
""
"
65
Get the number of retries.
66
""
"
67
return
self._retries
68
69
def
update_retries(self, value: int) -> None:
70
""
"
Callers
15
test_default_retry_config
Function · 0.80
test_cluster_get_set_retry_object
Method · 0.80
test_cluster_retry_object
Method · 0.80
test_cluster_set_get_retry_object
Method · 0.80
test_cluster_retry_object
Method · 0.80
test_cluster_down_error
Method · 0.80
test_get_retries_on_retryable_http_errors_and_succeeds
Method · 0.80
test_underlying_clients_have_disabled_retry_and_maint_notifications
Method · 0.80
_close_connection
Method · 0.80
_reconnect
Method · 0.80
_disconnect_reset_raise_on_watching
Method · 0.80
_disconnect_raise_on_watching
Method · 0.80
Calls
no outgoing calls
Tested by
8
test_default_retry_config
Function · 0.64
test_cluster_get_set_retry_object
Method · 0.64
test_cluster_retry_object
Method · 0.64
test_cluster_set_get_retry_object
Method · 0.64
test_cluster_retry_object
Method · 0.64
test_cluster_down_error
Method · 0.64
test_get_retries_on_retryable_http_errors_and_succeeds
Method · 0.64
test_underlying_clients_have_disabled_retry_and_maint_notifications
Method · 0.64