mirror of
https://gitlab.aachen.ccc.de/inventory/in.git
synced 2024-11-25 16:53:59 +01:00
format database.py using black
This commit is contained in:
parent
1bf4eb801f
commit
f3658a76ff
1 changed files with 1 additions and 3 deletions
|
@ -5,9 +5,7 @@ from sqlalchemy.orm import sessionmaker
|
|||
SQLALCHEMY_DATABASE_URL = "sqlite:///./inventory.sqlite3"
|
||||
|
||||
engine = create_engine(
|
||||
SQLALCHEMY_DATABASE_URL,
|
||||
connect_args = {"check_same_thread": False},
|
||||
echo=True
|
||||
SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}, echo=True
|
||||
)
|
||||
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
||||
|
||||
|
|
Loading…
Reference in a new issue