Skip to content

Commit

Permalink
Remove slots=True from RedisKey and RedisHashMapKey (#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
dycw authored Sep 30, 2024
1 parent ada21af commit c590af7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/utilities/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.58.5"
__version__ = "0.58.6"
4 changes: 2 additions & 2 deletions src/utilities/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class RedisContainer(Generic[_TRedis]):
key: str


@dataclass(kw_only=True, slots=True)
@dataclass(kw_only=True)
class RedisHashMapKey(Generic[_K, _V]):
"""A hashmap key in a redis store."""

Expand Down Expand Up @@ -195,7 +195,7 @@ async def hset_async(
return ensure_int(response) # skipif-ci-and-not-linux


@dataclass(kw_only=True, slots=True)
@dataclass(kw_only=True)
class RedisKey(Generic[_T]):
"""A key in a redis store."""

Expand Down

0 comments on commit c590af7

Please sign in to comment.