From 35bddb14f15124a3dc448a74651a6592911d99e9 Mon Sep 17 00:00:00 2001 From: Tim O'Farrell Date: Tue, 17 Feb 2026 17:52:54 +0000 Subject: [PATCH] fix: preserve import order in clean_proactive_convo_table.py (#12901) Co-authored-by: openhands Co-authored-by: OpenHands Bot --- enterprise/sync/clean_proactive_convo_table.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/enterprise/sync/clean_proactive_convo_table.py b/enterprise/sync/clean_proactive_convo_table.py index 6663588aab..5d7540e5c5 100644 --- a/enterprise/sync/clean_proactive_convo_table.py +++ b/enterprise/sync/clean_proactive_convo_table.py @@ -1,9 +1,14 @@ -import asyncio - -from storage.proactive_conversation_store import ProactiveConversationStore +import asyncio # noqa: I001 +# This must be before the import of storage +# to set up logging and prevent alembic from +# running its mouth. from openhands.core.logger import openhands_logger +from storage.proactive_conversation_store import ( + ProactiveConversationStore, +) + OLDER_THAN = 30 # 30 minutes