mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +00:00
Make speedups extras [fast] will install uvloop
This commit is contained in:
parent
a1d74a91b7
commit
71def6449f
3 changed files with 17 additions and 3 deletions
|
|
@ -2,7 +2,14 @@ from .api import methods, types
|
|||
from .api.client import session
|
||||
from .api.client.bot import Bot
|
||||
|
||||
try:
|
||||
import uvloop
|
||||
|
||||
uvloop.install()
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
__all__ = ["__api_version__", "__version__", "types", "methods", "Bot", "session"]
|
||||
|
||||
__version__ = "3.0dev.1"
|
||||
__version__ = "3.0.0a0"
|
||||
__api_version__ = "4.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue