moriire commited on
Commit
0d1b7fb
1 Parent(s): ab4ecf2

Update app/db.py

Browse files
Files changed (1) hide show
  1. app/db.py +1 -1
app/db.py CHANGED
@@ -34,7 +34,7 @@ class User(SQLAlchemyBaseUserTableUUID, Base):
34
 
35
  engine = create_async_engine(DATABASE_URL, echo=True)
36
  async_session_maker = async_sessionmaker(engine,
37
- #class_=AsyncSession,
38
  autoflush=True,
39
  autocommit=False,
40
  expire_on_commit=False,
 
34
 
35
  engine = create_async_engine(DATABASE_URL, echo=True)
36
  async_session_maker = async_sessionmaker(engine,
37
+ class_=AsyncSession,
38
  autoflush=True,
39
  autocommit=False,
40
  expire_on_commit=False,