rasa/core/run.py
async def run_cmdline_io(running_app: Sanic):
            """Small wrapper to shut down the server once cmd io is done."""
            await asyncio.sleep(1)  # allow server to start
            await console.record_messages(
                server_url=constants.DEFAULT_SERVER_FORMAT.format(port))

            logger.info("Killing Sanic server now.")
            running_app.stop()
Small wrapper to shut down the server once cmd io is done.
Small wrapper to shut down the server once cmd io is done.
Small wrapper to shut down the server once cmd io is done .
async def run_cmdline_io(running_app: Sanic):
            await asyncio.sleep(1)  
            await console.record_messages(
                server_url=constants.DEFAULT_SERVER_FORMAT.format(port))
            logger.info("Killing Sanic server now.")
            running_app.stop()
async def run_cmdline_io ( running_app : Sanic ) : await asyncio . sleep ( 1 ) await console . record_messages ( server_url = constants . DEFAULT_SERVER_FORMAT . format ( port ) ) logger . info ( "Killing Sanic server now." ) running_app . stop ( )
Small wrapper to shut down the server once cmd io is done.
Small wrapper to shut down the server once cmd io is done .
"""Small wrapper to shut down the server once cmd io is done.""" # allow server to start
running_app
Sanic