Fix: Database connection recreated on Login and Logout callbacks to prevent error due to previous session closing.

This commit is contained in:
2024-10-29 22:05:44 +00:00
parent 8cbc3ea973
commit db5ee79db0

View File

@@ -32,7 +32,7 @@ from pydantic import BaseModel, ConfigDict
from typing import ClassVar
from datetime import datetime
# db = SQLAlchemy()
db = SQLAlchemy()
class DataStore_User(DataStore_Base):