App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo Class Reference
Inheritance diagram for google.appengine.ext.datastore_admin.backup_handler.EntityTypeInfo:

Public Member Functions

def __init__
 
def kind
 
def properties_name_iter
 
def get_property
 
def merge
 
def populate_entity_schema
 
def to_json
 
def from_json
 
def create_from_entity_proto
 

Detailed Description

Type information for an entity.

Constructor & Destructor Documentation

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.

Member Function Documentation

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: