@@ -242,14 +242,14 @@ class Redis(object):
242
242
self , name : _Key , mapping : Mapping [_Key , _Str ], nx : bool = ..., xx : bool = ..., ch : bool = ..., incr : bool = ...
243
243
) -> int : ...
244
244
def zcard (self , name ): ...
245
- def zcount (self , name , min , max ) : ...
245
+ def zcount (self , name : _Key , min : _Str , max : _Str ) -> int : ...
246
246
def zincrby (self , name , value , amount = ...): ...
247
247
def zinterstore (self , dest , keys , aggregate = ...): ...
248
248
def zlexcount (self , name , min , max ): ...
249
249
def zrange (self , name , start , end , desc = ..., withscores = ..., score_cast_func = ...): ...
250
250
def zrangebylex (self , name , min , max , start = ..., num = ...): ...
251
251
def zrangebyscore (self , name , min , max , start = ..., num = ..., withscores = ..., score_cast_func = ...): ...
252
- def zrank (self , name , value ) : ...
252
+ def zrank (self , name : _Key , value : _Key ) -> Optional [ int ] : ...
253
253
def zrem (self , name , * values ): ...
254
254
def zremrangebylex (self , name , min , max ): ...
255
255
def zremrangebyrank (self , name , min , max ): ...
0 commit comments