2019-05-18 19:00:13 +02:00
|
|
|
from marshmallow import fields, Schema
|
|
|
|
|
|
|
|
|
|
|
|
class FizzbazSchema(Schema):
|
2019-08-03 18:55:38 +02:00
|
|
|
"""Fizzbaz schema"""
|
2019-05-18 19:00:13 +02:00
|
|
|
|
2019-08-03 18:55:38 +02:00
|
|
|
fizzbazId = fields.Number(attribute="fizzbaz_id")
|
|
|
|
name = fields.String(attribute="name")
|
|
|
|
purpose = fields.String(attribute="purpose")
|