summaryrefslogtreecommitdiff
path: root/redis/commands.py
diff options
context:
space:
mode:
authorAvitalFineRedis <avital.fine@redislabs.com>2021-10-14 08:32:10 +0200
committerAvitalFineRedis <avital.fine@redislabs.com>2021-10-14 08:32:10 +0200
commit106567de0573d2c6d8651191c7d108802d10a06d (patch)
tree288872adc9d095aa1b372aad125e921ab0886df4 /redis/commands.py
parent5cd878de3eca3322d6719822d4999595f943b218 (diff)
downloadredis-py-106567de0573d2c6d8651191c7d108802d10a06d.tar.gz
Throw NotImplementedError
Diffstat (limited to 'redis/commands.py')
-rw-r--r--redis/commands.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/redis/commands.py b/redis/commands.py
index eb7cea5..766d391 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -3154,6 +3154,11 @@ class Commands:
"""
return self.execute_command('MODULE LIST')
+ def command(self):
+ raise NotImplementedError(
+ "COMMAND is not supported in the client."
+ )
+
def command_count(self):
return self.execute_command('COMMAND COUNT')