app/lists.py
def do_async_import(coroutine):
    """Generic wrapper function to run async imports.

    Args:
        coroutine: the coroutine to be run asynchronously
    """
    loop = asyncio.get_event_loop()
    future = asyncio.ensure_future(coroutine)
    loop.run_until_complete(future)
Generic wrapper function to run async imports.

    Args:
        coroutine: the coroutine to be run asynchronously
    
Generic wrapper function to run async imports.
Generic wrapper function to run async imports .
def do_async_import(coroutine):
    loop = asyncio.get_event_loop()
    future = asyncio.ensure_future(coroutine)
    loop.run_until_complete(future)
def do_async_import ( coroutine ) : loop = asyncio . get_event_loop ( ) future = asyncio . ensure_future ( coroutine ) loop . run_until_complete ( future )
Generic wrapper function to run async imports.
Generic wrapper function to run async imports .
"""Generic wrapper function to run async imports.

    Args:
        coroutine: the coroutine to be run asynchronously
    """
coroutine
the coroutine to be run asynchronously
the coroutine to be run asynchronously