Type information for an entity.
def google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo.__init__ |
( |
|
self, |
|
|
|
kind = None , |
|
|
|
properties = None |
|
) |
| |
Construct an EntityTypeInfo instance.
Args:
kind: An optional kind name as string.
properties: An optional list of PropertyTypeInfo.
def google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo.create_from_entity_proto |
( |
|
cls, |
|
|
|
entity_proto |
|
) |
| |
Creates and populates an EntityTypeInfo from an EntityProto.
def google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo.merge |
( |
|
self, |
|
|
|
other |
|
) |
| |
Merge an EntityTypeInfo with this instance.
Args:
other: Required EntityTypeInfo to merge.
Returns:
True if anything was changed. False otherwise.
Raises:
ValueError: if kinds do not match.
TypeError: if other is not instance of EntityTypeInfo.
def google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo.populate_entity_schema |
( |
|
self, |
|
|
|
entity_schema |
|
) |
| |
Populates the given entity_schema with values from this instance.
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