This commit is contained in:
@@ -3,7 +3,8 @@ from .marshm import ma
|
||||
from model import Ingredient
|
||||
|
||||
|
||||
class IngredientSchema(ma.ModelSchema):
|
||||
class IngredientSchema(ma.SQLAlchemyAutoSchema):
|
||||
|
||||
class Meta:
|
||||
model = Ingredient
|
||||
load_instance = True
|
||||
|
||||
Reference in New Issue
Block a user