1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Copyright 2012, 2013 Canonical Ltd. This software is licensed under the # GNU Affero General Public License version 3 (see the file LICENSE). __metaclass__ = type from colander import ( Boolean, MappingSchema, SchemaNode, ) class CharmFeaturedness(MappingSchema): is_featured = SchemaNode(Boolean(), title='Feature this charm', missing=False) |