neutron-lib/neutron_lib/db
Kevin Benton 72a2e9df96 Add flush_on_subtransaction=True to engine config
By default, the new enginefacade doesn't emulate the same
autoflush behavior we had on exits of session context managers
with the old style. As of olso.db 4.18, we have an option to
get this same behavior. This patch implements it in our db.api
to help with the adoption of the new enginefacade by providing
the same flush semantics.

Related-Bug: #1664643
Partially-Implements: blueprint enginefacade-switch
Change-Id: I71e274d0f0199896f28daae6db71241d9b43a2f3
2017-04-04 10:55:14 +00:00
..
__init__.py Add pagination helpers 2016-03-18 21:41:41 -04:00
api.py Add flush_on_subtransaction=True to engine config 2017-04-04 10:55:14 +00:00
constants.py Add FQDN_FIELD_SIZE constant 2017-01-04 17:14:16 +00:00
model_base.py Base DB: rehome model_base 2016-08-19 08:47:37 -04:00
utils.py Add docstrings for db.utils 2016-08-19 13:46:11 -06:00