def get_one(id: int, db: Session):
    user = db.query(models.User).filter((models.User.id == id)).first()
    if (not user):
        raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f'User with the id {id} is not found.')
    return user
def get_one(id: int, db: Session):
    user = db.query(models.User).filter((models.User.id == id)).first()
    if (not user):
        raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f'User with the id {id} is not found.')
    return user