diff options
author | AvitalFineRedis <avital.fine@redislabs.com> | 2021-10-13 16:58:11 +0200 |
---|---|---|
committer | AvitalFineRedis <avital.fine@redislabs.com> | 2021-10-13 16:58:11 +0200 |
commit | b559b6d82df3214931d2b4cadc9d380127953b4f (patch) | |
tree | 190d76256dabdcbb863ad7f6f95a038c36745848 | |
parent | 9d92ca78fe694d57bfaf6929dcd40dc707302d2e (diff) | |
download | redis-py-b559b6d82df3214931d2b4cadc9d380127953b4f.tar.gz |
flake8
-rw-r--r-- | redis/commands.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/redis/commands.py b/redis/commands.py index 1524bfd..11205cf 100644 --- a/redis/commands.py +++ b/redis/commands.py @@ -439,11 +439,15 @@ class Commands: return self.execute_command('CLIENT UNPAUSE') def readwrite(self): - """Disables read queries for a connection to a Redis Cluster slave node""" + """ + Disables read queries for a connection to a Redis Cluster slave node. + """ return self.execute_command('READWRITE') def readonly(self): - """Enables read queries for a connection to a Redis Cluster replica node""" + """ + Enables read queries for a connection to a Redis Cluster replica node. + """ return self.execute_command('READONLY') def config_get(self, pattern="*"): @@ -459,7 +463,9 @@ class Commands: return self.execute_command('CONFIG RESETSTAT') def config_rewrite(self): - """Rewrite config file with the minimal change to reflect running config""" + """ + Rewrite config file with the minimal change to reflect running config. + """ return self.execute_command('CONFIG REWRITE') def dbsize(self): |