diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-05-02 12:03:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 12:03:56 +0300 |
commit | 09a52dba48221353eafa8188d73ab97e8f4ccc49 (patch) | |
tree | 135665f2a588b722fddcc2d652a89658b4fe1cfd /redis/commands/core.py | |
parent | eea88da8b78e1c0e3c8403f8ae756a7716a4abc1 (diff) | |
download | redis-py-09a52dba48221353eafa8188d73ab97e8f4ccc49.tar.gz |
Implemented LATENCY HISTOGRAM by always throwing NotImplementedError (#2147)
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Diffstat (limited to 'redis/commands/core.py')
-rw-r--r-- | redis/commands/core.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redis/commands/core.py b/redis/commands/core.py index b52ddfe..ac1b6c7 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -1064,6 +1064,15 @@ class ManagementCommands(CommandsProtocol): """ return self.execute_command("MEMORY PURGE", **kwargs) + def latency_histogram(self, *args): + """ + This function throws a NotImplementedError since it is intentionally + not supported. + """ + raise NotImplementedError( + "LATENCY HISTOGRAM is intentionally not implemented in the client." + ) + def ping(self, **kwargs) -> ResponseT: """ Ping the Redis server |