CICD/app/widget/schema.py
2019-05-18 13:00:13 -04:00

10 lines
238 B
Python

from marshmallow import fields, Schema
class WidgetSchema(Schema):
'''Widget schema'''
widgetId = fields.Number(attribute='widget_id')
name = fields.String(attribute='name')
purpose = fields.String(attribute='purpose')