Improve redis.crc types (#8375)

This commit is contained in:
Nikita Sobolev
2022-07-23 18:57:42 +03:00
committed by GitHub
parent b47d771fc9
commit 5598b49851

View File

@@ -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: ...