This commit is contained in:
Alex Root Junior 2017-08-04 16:59:57 +03:00
parent e135b1732f
commit e58f968735

View file

@ -1,6 +1,5 @@
"""
This module has redis storage for finite-state machine based on `aioredis <https://github.com/aio-libs/aioredis>`_ driver
"""
import typing
@ -17,7 +16,7 @@ class RedisStorage(BaseStorage):
Usage:
.. codeblock:: python3
.. code-block:: python3
storage = RedisStorage('localhost', 6379, db=5)
dp = Dispatcher(bot, storage=storage)