diff --git a/genotype_api/api/app.py b/genotype_api/api/app.py index 2e1bcf0..d521c23 100644 --- a/genotype_api/api/app.py +++ b/genotype_api/api/app.py @@ -76,8 +76,3 @@ def welcome(): def on_startup(): initialise_database(settings.db_uri) create_all_tables() - - -@app.on_event("shutdown") -async def on_shutdown(): - close_session()