mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +00:00
[3.0] Bot API 5.1 + FSM + Utils (#525)
* Regenerate corresponding to Bot API 5.1 * Added base of FSM. Markup constructor and small refactoring * Fix dependencies * Fix mypy windows error * Move StatesGroup.get_root() from meta to class * Fixed chat and user constraints * Update pipeline * Remove docs pipeline * Added GLOBAL_USER FSM strategy * Reformat code * Fixed Dispatcher._process_update * Bump Bot API 5.2. Added integration with MagicFilter * Coverage
This commit is contained in:
parent
a6f824a117
commit
0e72d8e65b
265 changed files with 2921 additions and 1324 deletions
|
|
@ -1,3 +1,5 @@
|
|||
from magic_filter import MagicFilter
|
||||
|
||||
from .client import session
|
||||
from .client.bot import Bot
|
||||
from .dispatcher import filters, handler
|
||||
|
|
@ -10,8 +12,9 @@ try:
|
|||
|
||||
_uvloop.install()
|
||||
except ImportError: # pragma: no cover
|
||||
_uvloop = None
|
||||
pass
|
||||
|
||||
F = MagicFilter()
|
||||
|
||||
__all__ = (
|
||||
"__api_version__",
|
||||
|
|
@ -25,7 +28,8 @@ __all__ = (
|
|||
"BaseMiddleware",
|
||||
"filters",
|
||||
"handler",
|
||||
"F",
|
||||
)
|
||||
|
||||
__version__ = "3.0.0-alpha.6"
|
||||
__api_version__ = "4.9"
|
||||
__api_version__ = "5.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue