App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
List of all members
google.appengine.ext.ndb.model._StructuredGetForDictMixin Class Reference
Inheritance diagram for google.appengine.ext.ndb.model._StructuredGetForDictMixin:
google.appengine.ext.ndb.model.Property google.appengine.ext.ndb.model.ModelAttribute google.appengine.ext.ndb.model.LocalStructuredProperty google.appengine.ext.ndb.model.StructuredProperty google.appengine.ext.ndb.msgprop.MessageProperty

Additional Inherited Members

- Public Member Functions inherited from google.appengine.ext.ndb.model.Property
def __init__
 
def __repr__
 
def __eq__
 
def __ne__
 
def __lt__
 
def __le__
 
def __gt__
 
def __ge__
 
def __neg__
 
def __pos__
 
def __get__
 
def __set__
 
def __delete__
 
- Static Public Attributes inherited from google.appengine.ext.ndb.model.Property
 IN = _IN
 

Detailed Description

Mixin class so *StructuredProperty can share _get_for_dict().

The behavior here is that sub-entities are converted to dictionaries
by calling to_dict() on them (also doing the right thing for
repeated properties).

NOTE: Even though the _validate() method in StructuredProperty and
LocalStructuredProperty are identical, they cannot be moved into
this shared base class.  The reason is subtle: _validate() is not a
regular method, but treated specially by _call_to_base_type() and
_call_shallow_validation(), and the class where it occurs matters
if it also defines _to_base_type().

The documentation for this class was generated from the following file: