fastapi-boilerplate/app/crud/item.py
Finn Christiansen d8607212da
Some checks failed
Python formatting PEP8 / Python-PEP8 (push) Failing after 18s
added structured api endpoints and done some refactoring
2023-08-12 00:20:51 +02:00

10 lines
194 B
Python

from models import Item
from schemas.item import ItemCreate, ItemUpdate
from crud.base import CRUDBase
class CRUDItem(CRUDBase[Item, ItemCreate, ItemUpdate]):
pass
item = CRUDItem(Item)