oslo.db/oslo_db
Mike Bayer 5b36e169ea Add "is_started" flag to enginefacade
Some module reloading scenarios such as that which occurs
within mod_wsgi mean that an existing module-level enginefacade
is already in the "started" state, however initialization
routines from the calling application may still attempt to
call the ``.configure`` method.  Add a new flag is_started
to both _TransactionContextManager and _TransactionFactory so
that calling code can check for this state ahead of time;
additionally, promote the TypeError raised to a specific subclass
enginefacade.AlreadyStartedError to allow for better optimistic
schemes.

Change-Id: I2f5a9e35c2fae0c28b78beef3dcd2c4794362766
References: I704196711d30c1124e713ac31111a8ea6fa2f1ba
2018-10-24 13:45:50 -04:00
..
locale Imported Translations from Zanata 2018-03-01 06:16:38 +00:00
sqlalchemy Add "is_started" flag to enginefacade 2018-10-24 13:45:50 -04:00
tests Add "is_started" flag to enginefacade 2018-10-24 13:45:50 -04:00
__init__.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
_i18n.py Update the documentation link 2017-08-23 14:46:27 +08:00
api.py Improve exponential backoff for wrap_db_retry 2018-04-13 09:26:12 +08:00
concurrency.py Remove log translations 2017-03-30 08:42:42 +08:00
exception.py Remove property message for DBInvalidUnicodeParameter and InvalidSortKey 2017-09-11 17:38:31 +08:00
options.py Deprecate min_pool_size 2018-04-30 15:39:13 +00:00