File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -439,11 +439,15 @@ def client_unpause(self):
439439 return self .execute_command ('CLIENT UNPAUSE' )
440440
441441 def readwrite (self ):
442- """Disables read queries for a connection to a Redis Cluster slave node"""
442+ """
443+ Disables read queries for a connection to a Redis Cluster slave node.
444+ """
443445 return self .execute_command ('READWRITE' )
444446
445447 def readonly (self ):
446- """Enables read queries for a connection to a Redis Cluster replica node"""
448+ """
449+ Enables read queries for a connection to a Redis Cluster replica node.
450+ """
447451 return self .execute_command ('READONLY' )
448452
449453 def config_get (self , pattern = "*" ):
@@ -459,7 +463,9 @@ def config_resetstat(self):
459463 return self .execute_command ('CONFIG RESETSTAT' )
460464
461465 def config_rewrite (self ):
462- """Rewrite config file with the minimal change to reflect running config"""
466+ """
467+ Rewrite config file with the minimal change to reflect running config.
468+ """
463469 return self .execute_command ('CONFIG REWRITE' )
464470
465471 def dbsize (self ):
You can’t perform that action at this time.
0 commit comments