2
0
forked from kodorvan/stcs

TP AND SL have been converted to float. Switch control has been moved to the main settings, Removed unnecessary parameters

This commit is contained in:
algizn97
2025-10-10 13:55:42 +05:00
parent 42c4660fe3
commit 4663888190
2 changed files with 91 additions and 60 deletions

View File

@@ -12,7 +12,9 @@ logger = logging.getLogger("database")
async_engine = create_async_engine(DATABASE_URL, echo=False)
async_session = async_sessionmaker(async_engine, class_=AsyncSession, expire_on_commit=False)
async_session = async_sessionmaker(
async_engine, class_=AsyncSession, expire_on_commit=False
)
async def init_db():