Update redis.py

Update docstrings
This commit is contained in:
Gabben 2019-06-27 20:39:26 +05:00
parent c6accd1a53
commit e2842944fa

View file

@ -62,8 +62,6 @@ class RedisStorage(BaseStorage):
async def redis(self) -> aioredis.RedisConnection:
"""
Get Redis connection
This property is awaitable.
"""
# Use thread-safe asyncio Lock because this method without that is not safe
async with self._connection_lock:
@ -241,8 +239,6 @@ class RedisStorage2(BaseStorage):
async def redis(self) -> aioredis.Redis:
"""
Get Redis connection
This property is awaitable.
"""
# Use thread-safe asyncio Lock because this method without that is not safe
async with self._connection_lock: