oslo.db/oslo_db/tests
Mike Bayer 7daffffafc Add support for pickling enginefacade context objects
In order to pickle a context object which refers
to an active _TransactionContextTLocal, we have to
use __reduce__ so that no database, engine, or session
state is pickled, and only a constructor remains.  Upon
unpickling, the constructor will install a new, empty
_TransactionContextTLocal on the new context, as is
appropriate since this is a totally different context object
than the original one.

Change-Id: Ia50cf10ff91a013ee24773c095a3df69ae06847b
2015-09-22 13:45:58 -04:00
..
sqlalchemy Add support for pickling enginefacade context objects 2015-09-22 13:45:58 -04:00
__init__.py Test that concurrent sqlalchemy transactions don't block 2015-07-16 20:20:45 +10:00
base.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
test_api.py Allow additional exceptions in wrap_db_retry 2015-06-25 11:36:35 -07:00
test_concurrency.py Move files out of the namespace package 2014-12-24 13:28:48 +02:00
utils.py Update Oslo imports to remove namespace package 2015-01-21 18:23:56 -05:00