google.appengine.ext.db.PropertiedClass

Meta-class for initializing Model classes properties.

Inherits From: expected_type

Used for initializing Properties defined in the context of a model. By using a meta-class much of the configuration of a Property descriptor becomes implicit. By using this meta-class, descriptors that are of class Model are notified about which class they belong to and what attribute they are associated with and can do appropriate initialization via __property_config__.

Duplicate properties are not permitted.

cls Class being initialized.
name Name of new class.
bases Base classes of new class.
dct Dictionary of new definitions for class.

DuplicatePropertyError when a property is duplicated either in the new class or separately in two base classes. ReservedWordError when a property is given a name that is in the list of reserved words, attributes of Model, and names of the form '.*'.