mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +00:00
16 lines
307 B
Python
16 lines
307 B
Python
import asyncio
|
|
import os
|
|
|
|
from .bot import Bot
|
|
from .dispatcher import Dispatcher
|
|
|
|
try:
|
|
import uvloop
|
|
except ImportError:
|
|
uvloop = None
|
|
else:
|
|
if 'DISABLE_UVLOOP' not in os.environ:
|
|
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
|
|
|
__version__ = '2.0.dev1'
|
|
__api_version__ = '3.6'
|