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

10 lines
242 B
Python

from marshmallow import fields, Schema
class FizzbarSchema(Schema):
"""Fizzbar schema"""
fizzbarId = fields.Number(attribute="fizzbar_id")
name = fields.String(attribute="name")
purpose = fields.String(attribute="purpose")