mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 16:38:55 +08:00
Improve redis.crc types (#8375)
This commit is contained in:
1 parent
b47d771fc9
commit
5598b49851
1 file changed
+3
-1
@@ -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