Add Redis.memory_purge() (#6138)

This commit is contained in:
Nikita Sobolev
2021-10-09 18:02:28 +03:00
committed by GitHub
parent b7d1d099d9
commit 0142ea8b52

View File

@@ -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): ...