Adding a stub for redis.Redis.client() (#4720)

Closes: #4721
This commit is contained in:
Árni Már Jónsson
2020-10-27 11:25:20 +00:00
committed by GitHub
parent f81e479861
commit e2a70235b4

View File

@@ -369,6 +369,7 @@ class Redis(object):
def cluster(self, cluster_arg: str, *args: Any) -> Any: ...
def __enter__(self) -> Redis: ...
def __exit__(self, exc_type, exc_value, traceback): ...
def client(self) -> Redis: ...
StrictRedis = Redis