From 0142ea8b52931fb5b914f4a159a04a385322189c Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 9 Oct 2021 18:02:28 +0300 Subject: [PATCH] Add Redis.memory_purge() (#6138) --- stubs/redis/redis/client.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/redis/redis/client.pyi b/stubs/redis/redis/client.pyi index 61f6a192c..bacc88fb3 100644 --- a/stubs/redis/redis/client.pyi +++ b/stubs/redis/redis/client.pyi @@ -761,6 +761,7 @@ class Redis(Generic[_StrType]): def pubsub_numpat(self) -> int: ... def monitor(self) -> Monitor: ... def memory_stats(self) -> dict[str, Any]: ... + def memory_purge(self) -> bool: ... def cluster(self, cluster_arg: str, *args: Any) -> Any: ... def __enter__(self) -> Redis[_StrType]: ... def __exit__(self, exc_type, exc_value, traceback): ...