diff --git a/redis/commands/core.py b/redis/commands/core.py index 6e1af05635..525b31c99d 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -4699,8 +4699,8 @@ def _zrange( command, dest: Union[KeyT, None], name: KeyT, - start: int, - end: int, + start: EncodableT, + end: EncodableT, desc: bool = False, byscore: bool = False, bylex: bool = False, @@ -4738,8 +4738,8 @@ def _zrange( def zrange( self, name: KeyT, - start: int, - end: int, + start: EncodableT, + end: EncodableT, desc: bool = False, withscores: bool = False, score_cast_func: Union[type, Callable] = float, @@ -4828,8 +4828,8 @@ def zrangestore( self, dest: KeyT, name: KeyT, - start: int, - end: int, + start: EncodableT, + end: EncodableT, byscore: bool = False, bylex: bool = False, desc: bool = False,