From 73b3fea7b955c6cd4e7d19f577a7462562195a16 Mon Sep 17 00:00:00 2001 From: Niraj Adhikari Date: Mon, 2 Oct 2023 10:37:41 +0545 Subject: [PATCH] relative imports --- src/backend/app/db/database.py | 2 +- src/backend/app/db/db_models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/app/db/database.py b/src/backend/app/db/database.py index 7c24c42a76..2e0328221a 100644 --- a/src/backend/app/db/database.py +++ b/src/backend/app/db/database.py @@ -22,7 +22,7 @@ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker -from ..config import settings +from app.config import settings engine = create_engine(settings.FMTM_DB_URL) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) diff --git a/src/backend/app/db/db_models.py b/src/backend/app/db/db_models.py index 74ba6e682a..2eadb2cd8e 100644 --- a/src/backend/app/db/db_models.py +++ b/src/backend/app/db/db_models.py @@ -41,7 +41,7 @@ relationship, ) -from ..models.enums import ( +from app.models.enums import ( BackgroundTaskStatus, MappingLevel, MappingPermission,