Skip to content

Commit 12a2fc4

Browse files
authored
Remove missing imports in init_app (#8)
1 parent e1c210c commit 12a2fc4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/python/app/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def create_db_and_tables() -> None:
8080
def init_app(_app: Any | None = None) -> None:
8181
"""Initialize database for the application"""
8282
# Import models to register them with SQLModel
83+
from .entity import Entity # noqa: F401
84+
from .simple_entity import SimpleEntity # noqa: F401
85+
from .user import User # noqa: F401
8386

8487
init_database()
8588

0 commit comments

Comments
 (0)