get attached - done and health check done
Some checks failed
checks-impure / test (pull_request) Successful in 29s
checks / test (pull_request) Failing after 3m21s

This commit is contained in:
Georg-Stahn
2023-12-04 21:54:10 +01:00
parent 737fff1c21
commit c1792a7730
3 changed files with 40 additions and 26 deletions

View File

@@ -34,8 +34,8 @@ async def lifespan(app: FastAPI) -> Any:
def setup_app() -> FastAPI:
# bind sql 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)
# 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)