@@ -189,15 +189,15 @@ def replicaof(self, *args, **kwargs):
189
189
190
190
For more information see https://redis.io/commands/replicaof
191
191
"""
192
- raise RedisClusterException ("REPLICAOF is not supported in cluster" " mode" )
192
+ raise RedisClusterException ("REPLICAOF is not supported in cluster mode" )
193
193
194
194
def swapdb (self , * args , ** kwargs ):
195
195
"""
196
196
Swaps two Redis databases.
197
197
198
198
For more information see https://redis.io/commands/swapdb
199
199
"""
200
- raise RedisClusterException ("SWAPDB is not supported in cluster" " mode" )
200
+ raise RedisClusterException ("SWAPDB is not supported in cluster mode" )
201
201
202
202
203
203
class ClusterDataAccessCommands (DataAccessCommands ):
@@ -310,7 +310,6 @@ class RedisClusterCommands(
310
310
target specific nodes. By default, if target_nodes is not specified, the
311
311
command will be executed on the default cluster node.
312
312
313
-
314
313
:param :target_nodes: type can be one of the followings:
315
314
- nodes flag: ALL_NODES, PRIMARIES, REPLICAS, RANDOM
316
315
- 'ClusterNode'
@@ -323,7 +322,7 @@ class RedisClusterCommands(
323
322
324
323
def cluster_myid (self , target_node ):
325
324
"""
326
- Returns the node’ s id.
325
+ Returns the node' s id.
327
326
328
327
:target_node: 'ClusterNode'
329
328
The node to execute the command on
0 commit comments