# -*- coding: utf-8 -*- """A module containing the Pet model.""" from __future__ import unicode_literals from sqlalchemy import Column, Integer, Unicode, UnicodeText from ...meta import Base class Pet(Base): """ An SQLAlchemy database model that represents a pet in our pet shop. Attributes: id (int): An integer uniquely identifying this pet. name (str): A unicode string that this pet answers to. breed (str): A unicode string that identifies the breed of this pet. pedigree (str): A unicode string that tells the history of this pet. """ id = Column(Integer, primary_key=True) name = Column(Unicode(length=255)) breed = Column(Unicode(length=255)) pedigree = Column(UnicodeText)