mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
added deprecation warning to mongo storage
This commit is contained in:
parent
ee369bb7ee
commit
5e6aada8e8
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,12 @@ from aiogram.fsm.storage.base import (
|
|||
|
||||
class MongoStorage(BaseStorage):
|
||||
"""
|
||||
|
||||
.. warning::
|
||||
DEPRECATED: Use :class:`PyMongoStorage` instead.
|
||||
This class will be removed in future versions.
|
||||
|
||||
|
||||
MongoDB storage required :code:`motor` package installed (:code:`pip install motor`)
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue