10 lines
242 B
Python
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')
|