From 0f66501e18a2027890fe308f7c9ddd5a4be009c8 Mon Sep 17 00:00:00 2001 From: ahdamin Date: Wed, 9 Oct 2024 09:30:24 +0200 Subject: [PATCH] Remove redundant line --- genotype_api/database/database.py | 1 - 1 file changed, 1 deletion(-) diff --git a/genotype_api/database/database.py b/genotype_api/database/database.py index 6b17622..89c8026 100644 --- a/genotype_api/database/database.py +++ b/genotype_api/database/database.py @@ -59,4 +59,3 @@ async def drop_all_tables(): """Drop all tables in the database.""" async with engine.begin() as conn: await conn.run_sync(Base.metadata.drop_all) - await conn.run_sync(Base.metadata.drop_all)