mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add autogenerated docs for examples. Will be changed soon.
This commit is contained in:
parent
06097fffa1
commit
f9c1ce35bb
17 changed files with 216 additions and 0 deletions
16
docs/source/examples/finite_state_machine_example_2.rst
Normal file
16
docs/source/examples/finite_state_machine_example_2.rst
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
.. 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-
|
||||
Loading…
Add table
Add a link
Reference in a new issue