OpenStack Common DB Code
Go to file
Mike Bayer d5f390f55c Improve failure mode handling in enginefacade
Check explicitly for the cases where no "sql_connection"
attribute was set when running _start(), so that the
lack of this parameter is documented by the
exception rather than failing into create_engine()
with an unclear failure mode.
If _start() fails as it will here, make sure _started
stays False so that repeated calls to _start() continue
to raise the same exception, rather than raising
attribute errors.  When accessing the "session" or
"connection" attributes of the context when these
attributes were not requested by the decorator or
context manager, raise explicit exceptions
for each, rather than returning None which leads to
hard-to-debug NoneType errors.

Change-Id: Iadfbf4707daed4140285a3a472009f6863b18275
Closes-bug: 1477080
2015-07-27 19:02:41 +03:00
doc/source Improve failure mode handling in enginefacade 2015-07-27 19:02:41 +03:00
oslo_db Improve failure mode handling in enginefacade 2015-07-27 19:02:41 +03:00
oslo.db/locale Imported Translations from Transifex 2015-07-23 06:14:58 +00:00
tools Remove run_cross_tests.sh 2015-05-05 19:39:49 +00:00
.coveragerc Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
.gitignore Clean up documentation 2014-09-04 16:27:00 -04:00
.gitreview Fix .gitreview for oslo.db 2014-04-30 16:55:51 +02:00
.mailmap Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
.testr.conf Move files out of the namespace package 2014-12-24 13:28:48 +02:00
babel.cfg Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
CONTRIBUTING.rst Switch from MySQL-python to PyMySQL 2015-06-18 15:42:23 +03:00
HACKING.rst Add doc8 to tox environment docs 2014-09-01 11:40:08 +02:00
LICENSE Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
MANIFEST.in Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00
openstack-common.conf Remove run_cross_tests.sh 2015-05-05 19:39:49 +00:00
README.rst Switch badges from 'pypip.in' to 'shields.io' 2015-06-11 20:42:31 -07:00
requirements.txt Updated from global requirements 2015-07-15 01:36:31 +00:00
setup.cfg Remove oslo namespace package 2015-06-21 20:54:10 +00:00
setup.py Updated from global requirements 2015-07-15 01:36:31 +00:00
test-requirements.txt Updated from global requirements 2015-07-22 04:58:56 +00:00
tox.ini Test that concurrent sqlalchemy transactions don't block 2015-07-16 20:20:45 +10:00

oslo.db

Latest Version

Downloads

The oslo db (database) handling library, it provides database connectivity to different database backends and various other helper utils.