From 90f67275167f762b4ca1c3203acb21d7603efd8d Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 9 Oct 2021 12:57:59 +0300 Subject: [PATCH] Add memory_stats() to Redis (#6137) --- 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 0e9ae2c67..61f6a192c 100644 --- a/stubs/redis/redis/client.pyi +++ b/stubs/redis/redis/client.pyi @@ -760,6 +760,7 @@ class Redis(Generic[_StrType]): def pubsub_numsub(self, *args: _Key) -> list[Tuple[Text, int]]: ... def pubsub_numpat(self) -> int: ... def monitor(self) -> Monitor: ... + def memory_stats(self) -> dict[str, Any]: ... def cluster(self, cluster_arg: str, *args: Any) -> Any: ... def __enter__(self) -> Redis[_StrType]: ... def __exit__(self, exc_type, exc_value, traceback): ...