From 0a0ec5c45f0b545dc0113225a5676df5eb222b9e Mon Sep 17 00:00:00 2001 From: Joel Krauska Date: Mon, 3 Nov 2025 20:23:21 -0800 Subject: [PATCH] remove unused loop --- alembic/env.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/alembic/env.py b/alembic/env.py index bcc04d8..ce8b483 100644 --- a/alembic/env.py +++ b/alembic/env.py @@ -85,8 +85,6 @@ async def run_async_migrations() -> None: def run_migrations_online() -> None: """Run migrations in 'online' mode with async support.""" try: - # Try to get existing event loop - loop = asyncio.get_running_loop() # Event loop is already running, schedule and run the coroutine import concurrent.futures