

def _args_for_conf(self, default_cfg, conf):
    if (conf is None):
        return dict(((key, _Default.resolve(value)) for (key, value) in default_cfg.items() if _Default.is_set(value)))
    else:
        return dict(((key, _Default.resolve_w_conf(value, conf.database, key)) for (key, value) in default_cfg.items() if _Default.is_set_w_conf(value, conf.database, key)))

dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py _TransactionFactory._args_for_conf/original