mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
use global pytest.mark.asyncio instead decorator
This commit is contained in:
parent
e4a0f78cc3
commit
4484323c4d
2 changed files with 4 additions and 10 deletions
|
|
@ -70,7 +70,7 @@ async def gender_pre_set(context: FSMContext, old_state: str, new_state: str):
|
|||
|
||||
# You can use pre_finish decorator to call decorated functions before state group will be finished
|
||||
@Form.pre_finish
|
||||
async def form_post_finish(context: FSMContext, old_state: str):
|
||||
async def form_pre_finish(context: FSMContext, old_state: str):
|
||||
async with context.proxy() as data:
|
||||
markup = types.ReplyKeyboardRemove()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue