def init_uvloop(): import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())