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

Method _do

tests/test_asyncio/test_retry.py:84–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self.actual_failures = 0
83
84 async def _do(self):
85 self.actual_attempts += 1
86 raise ConnectionError()
87
88 async def _fail(self, error):
89 self.actual_failures += 1

Callers

nothing calls this directly

Calls 1

ConnectionErrorClass · 0.90

Tested by

no test coverage detected