CICD/app/other_api/doodad/schema.py
2019-08-03 12:55:38 -04:00

10 lines
238 B
Python

from marshmallow import fields, Schema
class DoodadSchema(Schema):
"""Doodad schema"""
doodadId = fields.Number(attribute="doodad_id")
name = fields.String(attribute="name")
purpose = fields.String(attribute="purpose")