отключила логи бд
This commit is contained in:
parent
ef18fc2f4b
commit
6564a5c537
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user