This commit is contained in:
xyj 2023-12-08 14:30:47 +08:00
parent 71e851fa69
commit 57b3339823
8 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
from pydantic import BaseModel, Field
from sqlalchemy import *
from db.base import Base
from src.db.base import Base
class LOT_DATA(BaseModel):

View File

@ -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

View File

@ -2,7 +2,7 @@ from functools import wraps
from contextlib import contextmanager
from sqlalchemy.orm import Session
from db.base import SessionLocal
from src.db.base import SessionLocal
@contextmanager