

def _configure(self, as_defaults, kw):
    if self._started:
        raise TypeError('this TransactionFactory is already started')
    not_supported = []
    for (k, v) in kw.items():
        for dict_ in (self._url_cfg, self._engine_cfg, self._maker_cfg, self._ignored_cfg, self._facade_cfg, self._transaction_ctx_cfg):
            if (k in dict_):
                dict_[k] = (_Default(v) if as_defaults else v)
                break
        else:
            not_supported.append(k)
    if not_supported:
        warnings.warn(('Configuration option(s) %r not supported' % sorted(not_supported)), exception.NotSupportedWarning)

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