Commit 6fdf07c0 by Javier

Transational False

parent 13b936c5
...@@ -22,5 +22,5 @@ engine = create_engine( ...@@ -22,5 +22,5 @@ engine = create_engine(
f"mariadb+pymysql://{values['DB_USER']}:{values['DB_PASSWORD']}@{values['DB_HOST']}/{values['DB_NAME']}?charset=utf8mb4" f"mariadb+pymysql://{values['DB_USER']}:{values['DB_PASSWORD']}@{values['DB_HOST']}/{values['DB_NAME']}?charset=utf8mb4"
) )
Base.prepare(engine, reflect=True) Base.prepare(engine, reflect=True)
Session = sessionmaker(bind=engine) Session = sessionmaker(bind=engine, transactional=False)
session = Session() session = Session()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment