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

Method get_retry

redis/asyncio/client.py:489–490  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

487 return self.connection_pool.connection_kwargs
488
489 def get_retry(self) -> Optional[Retry]:
490 return self.get_connection_kwargs().get("retry")
491
492 def set_retry(self, retry: Retry) -> None:
493 self.get_connection_kwargs().update({"retry": retry})

Callers

nothing calls this directly

Calls 2

get_connection_kwargsMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected