attached
Some checks failed
checks-impure / test (pull_request) Successful in 28s
checks / test (pull_request) Failing after 3m19s

This commit is contained in:
Georg-Stahn
2023-12-03 20:40:53 +01:00
parent 9a31fbe010
commit 1142ee1b80
3 changed files with 39 additions and 9 deletions

View File

@@ -33,7 +33,9 @@ async def lifespan(app: FastAPI) -> Any:
def setup_app() -> FastAPI:
# bind sql engine
sql_models.Base.metadata.drop_all(engine)
# TODO comment aut and add flag to run with pupulated data rm *.sql run pytest with marked then start clan webui
# https://docs.pytest.org/en/7.1.x/example/markers.html
# sql_models.Base.metadata.drop_all(engine)
sql_models.Base.metadata.create_all(bind=engine)
app = FastAPI(lifespan=lifespan)