update
This commit is contained in:
parent
71e851fa69
commit
57b3339823
|
@ -1,7 +1,7 @@
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
from sqlalchemy import *
|
from sqlalchemy import *
|
||||||
|
|
||||||
from db.base import Base
|
from src.db.base import Base
|
||||||
|
|
||||||
|
|
||||||
class LOT_DATA(BaseModel):
|
class LOT_DATA(BaseModel):
|
|
@ -1,5 +1,5 @@
|
||||||
from db.models.lot_data_model import LOT_DATA_MODEL, LOT_DATA
|
from src.db.models.lot_data_model import LOT_DATA_MODEL, LOT_DATA
|
||||||
from db.session import with_session
|
from src.db.session import with_session
|
||||||
|
|
||||||
|
|
||||||
@with_session
|
@with_session
|
|
@ -2,7 +2,7 @@ from functools import wraps
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
from db.base import SessionLocal
|
from src.db.base import SessionLocal
|
||||||
|
|
||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
Loading…
Reference in New Issue