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