diff --git a/third_party/2and3/redis/client.pyi b/third_party/2and3/redis/client.pyi index 6c24380da..503decea1 100644 --- a/third_party/2and3/redis/client.pyi +++ b/third_party/2and3/redis/client.pyi @@ -340,6 +340,8 @@ class Redis(object): def pubsub_numpat(self) -> int: ... def monitor(self) -> Monitor: ... def cluster(self, cluster_arg: str, *args: Any) -> Any: ... + def __enter__(self) -> Redis: ... + def __exit__(self, exc_type, exc_value, traceback): ... StrictRedis = Redis