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

Update app/db.py

Browse files
Files changed (1) hide show
  1. app/db.py +1 -1
app/db.py CHANGED
@@ -33,7 +33,7 @@ class User(SQLAlchemyBaseUserTableUUID, Base):
33
 
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,
 
33
 
34
 
35
  engine = create_async_engine(DATABASE_URL, echo=True)
36
+ async_session_maker = sessionmaker(engine,
37
  class_=AsyncSession,
38
  autoflush=True,
39
  autocommit=False,