![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
![]() | |
def | __init__ |
def | __getattr__ |
![]() | |
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__ |
Additional Inherited Members | |
![]() | |
IN = _IN | |
![]() | |
IN = _IN | |
Messages are represented in the datastore as structured properties. By default, the structured property has a single subproperty containing the serialized message. This property is named 'blob_' in Python but __<protocol>__ in the Datastore, where <protocol> is the value of the protocol argument (default 'protobuf').
def google.appengine.ext.ndb.msgprop.MessageProperty.__init__ | ( | self, | |
message_type, | |||
name = None , |
|||
indexed_fields = None , |
|||
protocol = None , |
|||
kwds | |||
) |
Constructor. Args: message_tyoe: A subclass of protorpc.messages.Message. name: Optional datastore name (defaults to the property name). indexed_fields: Optional list of dotted and undotted field names. protocol: Optional protocol name default 'protobuf'. Additional keywords arguments specify the same options as supported by StructuredProperty, except 'indexed'.