@classmethod
def meta(cls):
    """Return a dictionary containing meta-information about the given
        resource."""
    if getattr(cls, '__from_class__', None) is not None:
        cls = cls.__from_class__
    attribute_info = {}
    for name, value in cls.__table__.columns.items():
        attribute_info[name] = str(value.type).lower()
    return {cls.__name__: attribute_info}
