fastapi-boilerplate/app/crud/item.py

11 lines
197 B
Python
Raw Normal View History

2023-08-10 22:46:36 +02:00
from models import Item
from schemas.schemas import ItemCreate, ItemUpdate
from crud.base import CRUDBase
class CRUDItem(CRUDBase[Item, ItemCreate, ItemUpdate]):
pass
item = CRUDItem(Item)