Removed the autocommit option

Removed the autocommit option, which has been deprecated
since SQLAlchemy 2.0.

Closes-Bug: #2118931
Change-Id: I8236bdacd161f496479de100f7c5facaa6e690a2
Signed-off-by: Chunghwan Lee <chung00.lee@samsung.com>
This commit is contained in:
chung00-lee
2025-07-29 02:03:59 +09:00
parent 05dec8ab60
commit 76e6da971a
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.
...