CICD/app/fizz/fizzbar/schema.py

10 lines
242 B
Python
Raw Normal View History

2019-05-18 19:00:13 +02:00
from marshmallow import fields, Schema
class FizzbarSchema(Schema):
2019-08-03 18:55:38 +02:00
"""Fizzbar schema"""
2019-05-18 19:00:13 +02:00
2019-08-03 18:55:38 +02:00
fizzbarId = fields.Number(attribute="fizzbar_id")
name = fields.String(attribute="name")
purpose = fields.String(attribute="purpose")