отключила логи бд

This commit is contained in:
Inohara 2024-10-17 13:58:26 +04:00
parent ef18fc2f4b
commit 6564a5c537

View File

@ -1,6 +1,6 @@
from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine, async_sessionmaker
from settings import settings
engine = create_async_engine(url=settings.db_url_asyncpg, echo=True)
engine = create_async_engine(url=settings.db_url_asyncpg, echo=False)
async_session = async_sessionmaker(engine)