diff --git a/db/__pycache__/__init__.cpython-310.pyc b/db/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 598662a..0000000 Binary files a/db/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/db/__pycache__/base.cpython-310.pyc b/db/__pycache__/base.cpython-310.pyc deleted file mode 100644 index 8db6a2d..0000000 Binary files a/db/__pycache__/base.cpython-310.pyc and /dev/null differ diff --git a/db/__pycache__/session.cpython-310.pyc b/db/__pycache__/session.cpython-310.pyc deleted file mode 100644 index 472eaf0..0000000 Binary files a/db/__pycache__/session.cpython-310.pyc and /dev/null differ diff --git a/db/models/__pycache__/__init__.cpython-310.pyc b/db/models/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index af1de00..0000000 Binary files a/db/models/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/db/models/__pycache__/base.cpython-310.pyc b/db/models/__pycache__/base.cpython-310.pyc deleted file mode 100644 index 609622d..0000000 Binary files a/db/models/__pycache__/base.cpython-310.pyc and /dev/null differ diff --git a/db/models/__pycache__/lot_data_model.cpython-310.pyc b/db/models/__pycache__/lot_data_model.cpython-310.pyc deleted file mode 100644 index 93a6331..0000000 Binary files a/db/models/__pycache__/lot_data_model.cpython-310.pyc and /dev/null differ diff --git a/db/repository/__pycache__/__init__.cpython-310.pyc b/db/repository/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 0822d04..0000000 Binary files a/db/repository/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/db/repository/__pycache__/lot_data_repository.cpython-310.pyc b/db/repository/__pycache__/lot_data_repository.cpython-310.pyc deleted file mode 100644 index 6235bd6..0000000 Binary files a/db/repository/__pycache__/lot_data_repository.cpython-310.pyc and /dev/null differ diff --git a/src/__init__.py b/src/__init__.py index c9a48ba..8b73042 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1 +1 @@ -from db import * \ No newline at end of file +from src.db import * \ No newline at end of file diff --git a/db/__init__.py b/src/db/__init__.py similarity index 100% rename from db/__init__.py rename to src/db/__init__.py diff --git a/db/base.py b/src/db/base.py similarity index 100% rename from db/base.py rename to src/db/base.py diff --git a/db/models/__init__.py b/src/db/models/__init__.py similarity index 100% rename from db/models/__init__.py rename to src/db/models/__init__.py diff --git a/db/models/base.py b/src/db/models/base.py similarity index 100% rename from db/models/base.py rename to src/db/models/base.py diff --git a/db/models/lot_data_model.py b/src/db/models/lot_data_model.py similarity index 99% rename from db/models/lot_data_model.py rename to src/db/models/lot_data_model.py index e99e179..2a23712 100755 --- a/db/models/lot_data_model.py +++ b/src/db/models/lot_data_model.py @@ -1,6 +1,6 @@ from pydantic import BaseModel, Field from sqlalchemy import * -from db.base import Base +from src.db.base import Base class LOT_DATA(BaseModel): diff --git a/db/repository/__init__.py b/src/db/repository/__init__.py similarity index 100% rename from db/repository/__init__.py rename to src/db/repository/__init__.py diff --git a/db/repository/lot_data_repository.py b/src/db/repository/lot_data_repository.py similarity index 92% rename from db/repository/lot_data_repository.py rename to src/db/repository/lot_data_repository.py index 2647c6b..33d61ed 100755 --- a/db/repository/lot_data_repository.py +++ b/src/db/repository/lot_data_repository.py @@ -1,5 +1,5 @@ -from db.models.lot_data_model import LOT_DATA_MODEL, LOT_DATA -from db.session import with_session +from src.db.models.lot_data_model import LOT_DATA_MODEL, LOT_DATA +from src.db.session import with_session @with_session diff --git a/db/session.py b/src/db/session.py similarity index 96% rename from db/session.py rename to src/db/session.py index 47cb59f..78b04d0 100755 --- a/db/session.py +++ b/src/db/session.py @@ -1,6 +1,6 @@ from functools import wraps from contextlib import contextmanager -from db.base import SessionLocal +from src.db.base import SessionLocal from sqlalchemy.orm import Session