Skip to content

Commit 106567d

Browse files
Throw NotImplementedError
1 parent 5cd878d commit 106567d

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(self):
3158+
raise NotImplementedError(
3159+
"COMMAND is not supported in the client."
3160+
)
3161+
31573162
def command_count(self):
31583163
return self.execute_command('COMMAND COUNT')
31593164

0 commit comments

Comments
 (0)