Skip to content

Commit

Permalink
Update redis_storage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Nov 18, 2023
1 parent 866af50 commit 6687066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp_session/redis_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(
if REDIS_VERSION < (4, 3):
raise RuntimeError("redis<4.3 is not supported")
self._key_factory = key_factory
if not isinstance(redis_pool, aioredis.Redis):
if not isinstance(redis_pool, aioredis.Redis): # type: ignore[unreachable]
raise TypeError(f"Expected redis.asyncio.Redis got {type(redis_pool)}")
self._redis = redis_pool

Expand Down

0 comments on commit 6687066

Please sign in to comment.