mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
[redis] Add new methods to RedisClusterCommands (#10162)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user