mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 11:25:54 +00:00
Bad type annotation.
This commit is contained in:
parent
9eb60c402c
commit
f58e625fef
1 changed files with 2 additions and 2 deletions
|
|
@ -27,13 +27,13 @@ class RedisStorage(BaseStorage):
|
|||
def __init__(self, host, port, db=None, password=None, ssl=None, loop=None, **kwargs):
|
||||
self._host = host
|
||||
self._port = port
|
||||
self._db: aioredis.RedisConnection = db
|
||||
self._db = db
|
||||
self._password = password
|
||||
self._ssl = ssl
|
||||
self._loop = loop
|
||||
self._kwargs = kwargs
|
||||
|
||||
self._redis = None
|
||||
self._redis: aioredis.RedisConnection = None
|
||||
|
||||
@property
|
||||
async def redis(self) -> aioredis.RedisConnection:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue