mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added MongoStorage for FSM
This commit is contained in:
parent
329c7f4c97
commit
a5ccf28498
11 changed files with 312 additions and 102 deletions
|
|
@ -78,13 +78,13 @@ Linux / macOS:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install -e ."[dev,test,docs,fast,redis,proxy,i18n]"
|
||||
pip install -e ."[dev,test,docs,fast,redis,mongo,proxy,i18n]"
|
||||
|
||||
Windows:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install -e .[dev,test,docs,fast,redis,proxy,i18n]
|
||||
pip install -e .[dev,test,docs,fast,redis,mongo,proxy,i18n]
|
||||
|
||||
It will install :code:`aiogram` in editable mode into your virtual environment and all dependencies.
|
||||
|
||||
|
|
@ -116,11 +116,12 @@ All changes should be tested:
|
|||
|
||||
pytest tests
|
||||
|
||||
Also if you are doing something with Redis-storage, you will need to test everything works with Redis:
|
||||
Also if you are doing something with Redis-storage or/and MongoDB-storage,
|
||||
you will need to test everything works with Redis or/and MongoDB:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pytest --redis redis://<host>:<port>/<db> tests
|
||||
pytest --redis redis://<host>:<port>/<db> --mongo mongodb://<user>:<password>@<host>:<port> tests
|
||||
|
||||
Docs
|
||||
----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue