Skip to content

Commit b559b6d

Browse files
flake8
1 parent 9d92ca7 commit b559b6d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

redis/commands.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)