mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update redis.py (#1053)
I fixed a mistake in writing documentation in class RedisStorage from/to: aioredis -> redis pip install aioredis -> pip install redis
This commit is contained in:
parent
67fbee454a
commit
45705faf12
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ class DefaultKeyBuilder(KeyBuilder):
|
|||
|
||||
class RedisStorage(BaseStorage):
|
||||
"""
|
||||
Redis storage required :code:`aioredis` package installed (:code:`pip install aioredis`)
|
||||
Redis storage required :code:`redis` package installed (:code:`pip install redis`)
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
|
|
@ -116,7 +116,7 @@ class RedisStorage(BaseStorage):
|
|||
Create an instance of :class:`RedisStorage` with specifying the connection string
|
||||
|
||||
:param url: for example :code:`redis://user:password@host:port/db`
|
||||
:param connection_kwargs: see :code:`aioredis` docs
|
||||
:param connection_kwargs: see :code:`redis` docs
|
||||
:param kwargs: arguments to be passed to :class:`RedisStorage`
|
||||
:return: an instance of :class:`RedisStorage`
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue