diff --git a/stubs/redis/redis/commands/cluster.pyi b/stubs/redis/redis/commands/cluster.pyi index e812f92a3..28789988b 100644 --- a/stubs/redis/redis/commands/cluster.pyi +++ b/stubs/redis/redis/commands/cluster.pyi @@ -1,5 +1,5 @@ from _typeshed import Incomplete -from typing import Generic +from typing import Generic, NoReturn from .core import ACLCommands, DataAccessCommands, ManagementCommands, PubSubCommands, _StrType @@ -57,6 +57,9 @@ class RedisClusterCommands( def cluster_replicas(self, node_id, target_nodes: Incomplete | None = None): ... def cluster_slots(self, target_nodes: Incomplete | None = None): ... def cluster_myshardid(self, target_nodes: Incomplete | None = None): ... + def cluster_links(self, target_node: Incomplete): ... + def cluster_flushslots(self, target_nodes: Incomplete | None = None) -> NoReturn: ... + def cluster_bumpepoch(self, target_nodes: Incomplete | None = None) -> NoReturn: ... read_from_replicas: bool def readonly(self, target_nodes: Incomplete | None = None): ... def readwrite(self, target_nodes: Incomplete | None = None): ...