mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Update FSM example.
This commit is contained in:
parent
2c749e485f
commit
88c5b3a606
4 changed files with 15 additions and 158 deletions
|
|
@ -1,16 +0,0 @@
|
|||
.. Autogenerated file at 2018-09-08 02:07:37.580949
|
||||
|
||||
==============================
|
||||
Finite state machine example 2
|
||||
==============================
|
||||
|
||||
This example is equals with 'finite_state_machine_example.py' but with FSM Middleware
|
||||
Note that FSM Middleware implements the more simple methods for working with storage.
|
||||
With that middleware all data from storage will be loaded before event will be processed
|
||||
and data will be stored after processing the event.
|
||||
|
||||
.. literalinclude:: ../../../examples/finite_state_machine_example_2.py
|
||||
:caption: finite_state_machine_example_2.py
|
||||
:language: python
|
||||
:linenos:
|
||||
:lines: 9-
|
||||
|
|
@ -9,7 +9,6 @@ Examples
|
|||
adwanced_executor_example
|
||||
proxy_and_emojize
|
||||
finite_state_machine_example
|
||||
finite_state_machine_example_2
|
||||
throtling_example
|
||||
i18n_example
|
||||
regexp_commands_filter_example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue