heat/heat/db/sqlalchemy
Zane Bitter 6d0e8e9f68 Always use context manager for DB transactions
An exception could occur at any time, so we want to make sure we roll
back any uncompleted transaction when that happens.

Change-Id: Id0d5b65f44981bde24840b8a0d5fdc0b88f24d8a
Related-bug: #1546431
2016-09-13 15:07:36 -04:00
..
migrate_repo on-delete cascade rule for resource_data 2016-06-13 08:55:30 +00:00
__init__.py Stub out the database access API 2012-03-29 18:02:16 +02:00
api.py Always use context manager for DB transactions 2016-09-13 15:07:36 -04:00
filters.py replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
migration.py Squash database patches 2016-04-09 02:16:38 +00:00
models.py Remove remaining methods from db objects 2016-07-13 11:58:27 +12:00
types.py Remove usage of sqlalchemy mutables 2015-06-26 11:02:03 +02:00
utils.py Add retries to avoid dberror for user_creds_delete 2016-03-17 23:02:57 +05:30