MCPcopy
hub / github.com/redis/redis-py / set_retry

Method set_retry

redis/client.py:538–540  ·  view source on GitHub ↗
(self, retry: Retry)

Source from the content-addressed store, hash-verified

536 return self.get_connection_kwargs().get("retry")
537
538 def set_retry(self, retry: Retry) -> None:
539 self.get_connection_kwargs().update({"retry": retry})
540 self.connection_pool.set_retry(retry)
541
542 def set_response_callback(self, command: str, callback: Callable) -> None:
543 """Set a custom Response Callback"""

Calls 2

get_connection_kwargsMethod · 0.95
updateMethod · 0.80