From 8cc334d52db3c301a3774db660e664e0acb859ca Mon Sep 17 00:00:00 2001 From: dsodx Date: Wed, 21 Jun 2023 14:53:45 +0300 Subject: [PATCH] Update change log --- CHANGES/1188.feature.rst | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGES/1188.feature.rst b/CHANGES/1188.feature.rst index 7358047a..93cb5e4e 100644 --- a/CHANGES/1188.feature.rst +++ b/CHANGES/1188.feature.rst @@ -1,4 +1,4 @@ -Fill and ``fsm/__init__.py`` to simplify imports. +Filled and ``fsm/__init__.py`` to simplify imports. For example use @@ -17,12 +17,13 @@ instead of from aiogram.fsm.strategy import FSMStrategy, apply_strategy from aiogram.fsm.middleware import FSMContextMiddleware -NOTE: You should still use +.. note:: + You should still use -.. code-block:: python - - from aiogram.fsm.storage.redis import RedisStorage - from aiogram.fsm.storage.memory import MemoryStorage - from aiogram.fsm.storage.base import BaseStorage - -to import storages. + .. code-block:: python + + from aiogram.fsm.storage.redis import RedisStorage + from aiogram.fsm.storage.memory import MemoryStorage + from aiogram.fsm.storage.base import BaseStorage + + to import storages.