def run(hostname=None, port=None, path=None, loop=None):
    """
    The arguments are not all optional. Either a path or hostname+port should
    be specified; you have to specify one.
    """
    if path:
        log.debug("Starting Opentrons server application on {}".format(
            path))
        hostname, port = None, None
    else:
        log.debug("Starting Opentrons server application on {}:{}".format(
            hostname, port))
        path = None

    web.run_app(init(loop), host=hostname, port=port, path=path)
def run ( hostname = None , port = None , path = None , loop = None ) : if path : log . debug ( "Starting Opentrons server application on {}" . format ( path ) ) hostname , port = None , None else : log . debug ( "Starting Opentrons server application on {}:{}" . format ( hostname , port ) ) path = None web . run_app ( init ( loop ) , host = hostname , port = port , path = path )
The arguments are not all optional. Either a path or hostname+port should
    be specified; you have to specify one.