7daffffafc
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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_async_eventlet.py | ||
test_enginefacade.py | ||
test_exc_filters.py | ||
test_handle_error.py | ||
test_migrate_cli.py | ||
test_migration_common.py | ||
test_migrations.py | ||
test_models.py | ||
test_options.py | ||
test_provision.py | ||
test_sqlalchemy.py | ||
test_types.py | ||
test_update_match.py | ||
test_utils.py |