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

10 lines
242 B
Python

from marshmallow import fields, Schema
class WhatsitSchema(Schema):
"""Whatsit schema"""
whatsitId = fields.Number(attribute="whatsit_id")
name = fields.String(attribute="name")
purpose = fields.String(attribute="purpose")