From ae048cbf515eb3bd2af964a06af367937b1b1db5 Mon Sep 17 00:00:00 2001 From: pauliyobo Date: Mon, 23 Sep 2024 03:17:33 +0200 Subject: [PATCH] Removed circular import --- alembic/env.py | 2 ++ bookworm/database/__init__.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/alembic/env.py b/alembic/env.py index 663c6b74..fcf0e08a 100644 --- a/alembic/env.py +++ b/alembic/env.py @@ -9,6 +9,8 @@ from alembic.operations import ops from bookworm.database import Base, get_db_url +from bookworm.annotation.annotation_models import * + # this is the Alembic Config object, which provides diff --git a/bookworm/database/__init__.py b/bookworm/database/__init__.py index c0ad53c4..ef0bbc79 100644 --- a/bookworm/database/__init__.py +++ b/bookworm/database/__init__.py @@ -26,7 +26,6 @@ PinnedDocument, RecentDocument, ) -from bookworm.annotation.annotation_models import * log = logger.getChild(__name__)