diff options
author | AvitalFineRedis <avital.fine@redislabs.com> | 2021-10-14 08:32:10 +0200 |
---|---|---|
committer | AvitalFineRedis <avital.fine@redislabs.com> | 2021-10-14 08:32:10 +0200 |
commit | 106567de0573d2c6d8651191c7d108802d10a06d (patch) | |
tree | 288872adc9d095aa1b372aad125e921ab0886df4 /redis/commands.py | |
parent | 5cd878de3eca3322d6719822d4999595f943b218 (diff) | |
download | redis-py-106567de0573d2c6d8651191c7d108802d10a06d.tar.gz |
Throw NotImplementedError
Diffstat (limited to 'redis/commands.py')
-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..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') |