def METHOD_NAME(coro):
    """
    Replacement of asyncio.run, as it doesn't exist in python<3.7.
    """
    asyncio.set_event_loop(asyncio.new_event_loop())
    loop = asyncio.get_event_loop()
    result = loop.run_until_complete(coro)
    loop.close()
    return result