so much stuff lol

This commit is contained in:
2025-04-09 23:53:05 -04:00
parent 1c00ea8569
commit df6490cab0
40 changed files with 1909 additions and 277 deletions

View File

@ -34,6 +34,8 @@ def transaction(db: Session):
db.commit()
except Exception as e:
db.rollback()
# Reset the session state
db.expire_all()
raise e
def init_db():