fastapi-boilerplate/app/crud/item.py

11 lines
194 B
Python
Raw Normal View History

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