Skip to content

Commit fd45c9c

Browse files
committed
fix version parsing
1 parent a551405 commit fd45c9c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎coredis_utils/__init__.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@
1919
P = ParamSpec("P")
2020
R = TypeVar("R")
2121

22-
VERSION = __version__ = "0.1.0"
22+
VERSION = "0.1.0"
2323
LIMITER_SCRIPT = """
2424
local val = redis.call('incr', KEYS[1])
2525
if val == 1 then
2626
redis.call('expire', KEYS[1], ARGV[1])
2727
end
2828
return val
2929
"""
30+
__version__ = VERSION
3031

3132

3233
def _limit(key: KeyT, period: int) -> CommandRequest[int]: ...

0 commit comments

Comments
 (0)