Skip to content

Commit 4a97313

Browse files
Merge pull request #1609 from AvitalFineRedis/unsupported_COMMAND
Throw NotImplementedError for COMMAND INFO
2 parents b63e55e + b66187b commit 4a97313

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

redis/commands.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3154,6 +3154,11 @@ def module_list(self):
31543154
"""
31553155
return self.execute_command('MODULE LIST')
31563156

3157+
def command_info(self):
3158+
raise NotImplementedError(
3159+
"COMMAND INFO is intentionally not implemented in the client."
3160+
)
3161+
31573162
def command_count(self):
31583163
return self.execute_command('COMMAND COUNT')
31593164

0 commit comments

Comments
 (0)