summaryrefslogtreecommitdiff
path: root/redis/commands.py
diff options
context:
space:
mode:
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')