CICD/app/other_api/whatsit/schema.py

10 lines
242 B
Python
Raw Normal View History

2019-05-18 19:47:47 +02:00
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')