Update app/db.py
Browse files
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 =
|
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,
|