meal_homework/mealapi/schemas/ingredientschema.py

10 lines
163 B
Python
Raw Normal View History

2022-02-13 20:38:02 +01:00
#!/usr/bin/env python3
from .marshm import ma
from ..model import Ingredient
class IngredientSchema(ma.ModelSchema):
class Meta:
model = Ingredient