aiogram/aiogram/__init__.py

17 lines
307 B
Python
Raw Normal View History

import asyncio
import os
from .bot import Bot
2018-05-02 18:24:23 +03:00
from .dispatcher import Dispatcher
2017-12-02 15:19:23 +02:00
try:
import uvloop
except ImportError:
uvloop = None
2017-12-02 15:19:23 +02:00
else:
if 'DISABLE_UVLOOP' not in os.environ:
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
2017-12-02 15:19:23 +02:00
2018-06-24 03:21:38 +03:00
__version__ = '2.0.dev1'
__api_version__ = '3.6'