mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Improve redis.crc types (#8375)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from redis.typing import EncodedT
|
||||
|
||||
REDIS_CLUSTER_HASH_SLOTS: int
|
||||
|
||||
def key_slot(key, bucket=...): ...
|
||||
def key_slot(key: EncodedT, bucket: int = ...) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user