extract SQLAlchemy model in separate python library
This commit is contained in:
@@ -4,10 +4,10 @@ from sqlalchemy import select
|
||||
from src.core.log_conf import logger
|
||||
|
||||
from src.core.security import CurrentUser
|
||||
from src.db.models.admin import Profile
|
||||
from kontor_model.db.models.admin import Profile
|
||||
from src.db.repository.user import create_new_profile
|
||||
from src.db.session import SessionDep
|
||||
from src.schema.user.profile import ProfileResponse, ProfileModel, to_response
|
||||
from kontor_model.schema.user.profile import ProfileResponse, ProfileModel, to_response
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
Reference in New Issue
Block a user