Merge "Removed the autocommit option"

This commit is contained in:
Zuul
2025-07-30 20:41:15 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 2 deletions

View File

@@ -36,8 +36,7 @@ class KekRewrap(object):
self.db_engine = session.create_engine(conf.database.connection or conf.sql_connection)
self._session_creator = scoping.scoped_session(
orm.sessionmaker(
bind=self.db_engine,
autocommit=True
bind=self.db_engine
)
)
self.crypto_plugin = simple_crypto.SimpleCryptoPlugin(conf)

View File

@@ -0,0 +1,6 @@
---
barbican:
- |
Removed the autocommit option, which has been deprecated
since SQLAlchemy 2.0.
...