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 dd42b5c commit 3ab0e3dCopy full SHA for 3ab0e3d
database/sql.py
@@ -5,13 +5,7 @@
5
from sqlalchemy import Column, TEXT, Numeric
6
from sqlalchemy.ext.declarative import declarative_base
7
from sqlalchemy.orm import sessionmaker, scoped_session
8
-
9
10
-if bool(os.environ.get("ENV", False)):
11
- from sample_config import Config
12
-else:
13
- from config import Config
14
+from config import DB_URI
15
16
def start() -> scoped_session:
17
engine = create_engine(Config.DB_URI, client_encoding="utf8")
0 commit comments