summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvital Fine <79420960+AvitalFineRedis@users.noreply.github.com>2021-10-14 15:23:13 +0200
committerGitHub <noreply@github.com>2021-10-14 15:23:13 +0200
commit4a973136c1ec28cb86871e46c4f5336aaa7901b7 (patch)
tree900b9ebce261b4ee100b59077b35231f9a744701
parentb63e55e927f3ca205a178c14330e6091120cf366 (diff)
parentb66187ba13cfe4fa8a31dc3107f9d3783154d1b7 (diff)
downloadredis-py-4a973136c1ec28cb86871e46c4f5336aaa7901b7.tar.gz
Merge pull request #1609 from AvitalFineRedis/unsupported_COMMAND
Throw NotImplementedError for COMMAND INFO
-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..bc80507 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -3154,6 +3154,11 @@ class Commands:
"""
return self.execute_command('MODULE LIST')
+ def command_info(self):
+ raise NotImplementedError(
+ "COMMAND INFO is intentionally not implemented in the client."
+ )
+
def command_count(self):
return self.execute_command('COMMAND COUNT')