We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b26e27a + 4bc3989 commit 19450e0Copy full SHA for 19450e0
src/yapcache/__init__.py
@@ -2,7 +2,6 @@
2
from dataclasses import dataclass
3
from functools import wraps
4
from typing import Generic
5
-from compat import StrEnum
6
7
8
from typing_extensions import (
@@ -18,6 +17,7 @@
18
17
19
from yapcache.cache_item import CacheItem
20
from yapcache.caches import Cache
+from yapcache.compat import StrEnum
21
from yapcache.distlock import DistLock, NullLock
22
23
P = ParamSpec("P")
src/yapcache/distlock.py
@@ -3,7 +3,8 @@
from redis.asyncio import Redis
from typing_extensions import override
+
9
10
class ReleasedLock(StrEnum):
0 commit comments