aodh/aodh/storage
Stephen Finucane 947c7b4ffd db: Replace use of Engine.execute() method
Resolve the following RemovedIn20Warning warning:

  The Engine.execute() method is considered legacy as of the 1.x
  series of SQLAlchemy and will be removed in 2.0.

This also allows us to resolve the following RemovedIn20Warning warning:

  The current statement is being autocommitted using implicit
  autocommit, which will be removed in SQLAlchemy 2.0. Use the .begin()
  method of Engine or Connection in order to use an explicit transaction
  for DML and DDL statements.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I46f3277ea17e814e7b631750b2739f25e4395e22
2024-03-11 13:58:49 +00:00
..
sqlalchemy Configure 'cache_ok' for TypeDecorator implementation 2024-03-11 13:58:36 +00:00
__init__.py db: Replace use of LegacyEngineFacade 2024-03-11 13:31:06 +00:00
base.py db: Replace use of LegacyEngineFacade 2024-03-11 13:31:06 +00:00
impl_log.py Limit number of records deleted by aodh-expirer 2021-05-06 21:02:35 +09:00
impl_sqlalchemy.py db: Replace use of Engine.execute() method 2024-03-11 13:58:49 +00:00
models.py Support quota API 2020-01-29 22:09:39 +13:00