extract SQLAlchemy model in separate python library
This commit is contained in:
@@ -2,9 +2,9 @@ from typing import List
|
||||
|
||||
from fastapi import APIRouter, HTTPException
|
||||
|
||||
from src.db.models.tysc import Card
|
||||
from kontor_model.db.models.tysc import Card
|
||||
from src.db.session import SessionDep
|
||||
from src.schema.tysc.card import CardResponse, to_response
|
||||
from kontor_model.schema.tysc.card import CardResponse, to_response
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
Reference in New Issue
Block a user