diff options
Diffstat (limited to 'redis/commands.py')
-rw-r--r-- | redis/commands.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/redis/commands.py b/redis/commands.py index cd3b802..62c082d 100644 --- a/redis/commands.py +++ b/redis/commands.py @@ -485,6 +485,11 @@ class Commands: """Returns version specific meta information about a given key""" return self.execute_command('DEBUG OBJECT', key) + def debug_segfault(self): + raise NotImplementedError( + "DEBUG SEGFAULT is intentionally not implemented in the client." + ) + def echo(self, value): """Echo the string back from the server""" return self.execute_command('ECHO', value) @@ -2894,6 +2899,11 @@ class Commands: """ return self.execute_command('SCRIPT EXISTS', *args) + def script_debug(self, *args): + raise NotImplementedError( + "SCRIPT DEBUG is intentionally not implemented in the client." + ) + def script_flush(self, sync_type="SYNC"): """Flush all scripts from the script cache. ``sync_type`` is by default SYNC (synchronous) but it can also be |