We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab0e3d commit 94fec3cCopy full SHA for 94fec3c
database/sql.py
@@ -8,7 +8,7 @@
8
from config import DB_URI
9
10
def start() -> scoped_session:
11
- engine = create_engine(Config.DB_URI, client_encoding="utf8")
+ engine = create_engine(DB_URI, client_encoding="utf8")
12
BASE.metadata.bind = engine
13
BASE.metadata.create_all(engine)
14
return scoped_session(sessionmaker(bind=engine, autoflush=False))
0 commit comments