Skip to content

Commit 1821cb9

Browse files
committed
remove CacheMutex as base class
Change-Id: Ib1c0a38f072676f33254a91312e7237c129850f2
1 parent ca15a91 commit 1821cb9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dogpile/cache/backends/redis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from typing_extensions import NotRequired
2424

2525
from ..api import BytesBackend
26-
from ..api import CacheMutex
2726
from ..api import KeyType
2827
from ..api import NO_VALUE
2928
from ..api import SerializedReturnType
@@ -292,7 +291,7 @@ def delete_multi(self, keys: Sequence[KeyType]) -> None:
292291
self.writer_client.delete(*keys)
293292

294293

295-
class _RedisLockWrapper(CacheMutex):
294+
class _RedisLockWrapper:
296295
__slots__ = ("mutex", "__weakref__")
297296

298297
def __init__(self, mutex: Any):

0 commit comments

Comments
 (0)