meal_homework/mealapi/schemas/ingredientschema.py

10 lines
161 B
Python
Raw Normal View History

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