Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -1146,3 +1146,4 @@ incompatible in code using*SCAN commands loops such as
* Implemented STRLEN
* Implemented PERSIST
* Implemented SETRANGE
* Changed type annotation of the `num` parameter in `zrange` from `int` to `Optional[int]
2 changes: 1 addition & 1 deletion redis/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4458,7 +4458,7 @@ def zrange(
byscore: bool = False,
bylex: bool = False,
offset: int = None,
num: int = None,
num: Optional[int] = None,
) -> ResponseT:
"""
Return a range of values from sorted set ``name`` between
Expand Down
Loading