Type information for an entity property.
def google.appengine.ext.datastore_admin.backup_handler.PropertyTypeInfo.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
is_repeated = False , |
|
|
|
primitive_types = None , |
|
|
|
embedded_entities = None |
|
) |
| |
Construct a PropertyTypeInfo instance.
Args:
name: The name of the property as a string.
is_repeated: A boolean that indicates if the property is repeated.
primitive_types: Optional list of PrimitiveType integer values.
embedded_entities: Optional list of EntityTypeInfo.
def google.appengine.ext.datastore_admin.backup_handler.PropertyTypeInfo.merge |
( |
|
self, |
|
|
|
other |
|
) |
| |
Merge a PropertyTypeInfo with this instance.
Args:
other: Required PropertyTypeInfo to merge.
Returns:
True if anything was changed. False otherwise.
Raises:
ValueError: if property names do not match.
TypeError: if other is not instance of PropertyTypeInfo.
def google.appengine.ext.datastore_admin.backup_handler.PropertyTypeInfo.populate_entity_schema_field |
( |
|
self, |
|
|
|
entity_schema |
|
) |
| |
Add an populate a Field to the given entity_schema.
Args:
entity_schema: apphosting.ext.datastore_admin.EntitySchema proto.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/datastore_admin/backup_handler.py