def Api(use_local=True, **kwargs):
    if cfg.CONF.conductor.use_local or use_local:
        api = conductor_api.LocalApi
    else:
        raise NotImplementedError(
            _("Remote conductor isn't implemented yet."))
        # api = conductor.RemoteApi

    return api(**kwargs)
Downloads file through http with progress report
dataset/ETHPy150Open openstack/sahara/sahara/conductor/__init__.py/Api--crossover with--dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/deep_learning/rnn.py/download_embeddings