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:
@@ -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)
|
||||
|
6
releasenotes/notes/barbican-d291498fada9e601.yaml
Normal file
6
releasenotes/notes/barbican-d291498fada9e601.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
barbican:
|
||||
- |
|
||||
Removed the autocommit option, which has been deprecated
|
||||
since SQLAlchemy 2.0.
|
||||
...
|
Reference in New Issue
Block a user