diff options
author | Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com> | 2021-10-14 15:23:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 15:23:13 +0200 |
commit | 4a973136c1ec28cb86871e46c4f5336aaa7901b7 (patch) | |
tree | 900b9ebce261b4ee100b59077b35231f9a744701 | |
parent | b63e55e927f3ca205a178c14330e6091120cf366 (diff) | |
parent | b66187ba13cfe4fa8a31dc3107f9d3783154d1b7 (diff) | |
download | redis-py-4a973136c1ec28cb86871e46c4f5336aaa7901b7.tar.gz |
Merge pull request #1609 from AvitalFineRedis/unsupported_COMMAND
Throw NotImplementedError for COMMAND INFO
-rw-r--r-- | redis/commands.py | 5 |
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') |