

def configure_defaults(self, **kw):
    'Apply default configurational options.\n\n        This method can only be called before any specific\n        transaction-beginning methods have been called.\n\n        Configurational options are within a fixed set of keys, and fall\n        under three categories: URL configuration, engine configuration,\n        and session configuration.  Each key given will be tested against\n        these three configuration sets to see which one is applicable; if\n        it is not applicable to any set, an exception is raised.\n\n        The configurational options given here act as **defaults**\n        when the :class:`._TransactionFactory` is configured using\n        a :class:`oslo_config.cfg.ConfigOpts` object; the options\n        present within the :class:`oslo_config.cfg.ConfigOpts` **take\n        precedence** versus the arguments passed here.  By default,\n        the :class:`._TransactionFactory` loads in the configuration from\n        :data:`oslo_config.cfg.CONF`, after applying the\n        :data:`oslo_db.options.database_opts` configurational defaults to it.\n\n        .. seealso::\n\n            :meth:`._TransactionFactory.configure`\n\n        '
    kw._configure(True, kw)

dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/enginefacade.py _TransactionFactory.configure_defaults/VarMisuse@15/394 `self`->`kw`