App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.ndb.metadata.EntityGroup Class Reference
Inheritance diagram for google.appengine.ext.ndb.metadata.EntityGroup:
google.appengine.ext.ndb.metadata._BaseMetadata google.appengine.ext.ndb.model.Model google.appengine.ext.ndb.model._NotEqualMixin

Public Member Functions

def key_for_entity_group
 
- Public Member Functions inherited from google.appengine.ext.ndb.model.Model
def __init__
 
def __getstate__
 
def __setstate__
 
def __repr__
 
def __hash__
 
def __eq__
 
- Public Member Functions inherited from google.appengine.ext.ndb.model._NotEqualMixin
def __ne__
 

Static Public Attributes

string KIND_NAME = '__entity_group__'
 
int ID = 1
 
tuple version = model.IntegerProperty(name='__version__')
 
- Static Public Attributes inherited from google.appengine.ext.ndb.model.Model
 key = _key
 
 populate = _populate
 
 has_complete_key = _has_complete_key
 
 to_dict = _to_dict
 
 query = _query
 
 gql = _gql
 
 put = _put
 
 put_async = _put_async
 
 get_or_insert = _get_or_insert
 
 get_or_insert_async = _get_or_insert_async
 
 allocate_ids = _allocate_ids
 
 allocate_ids_async = _allocate_ids_async
 
 get_by_id = _get_by_id
 
 get_by_id_async = _get_by_id_async
 

Detailed Description

Model for __entity_group__ metadata (available in HR datastore only).

This metadata contains a numeric __version__ property that is guaranteed
to increase on every change to the entity group. The version may increase
even in the absence of user-visible changes to the entity group. The
__entity_group__ entity may not exist if the entity group was never
written to.

Member Function Documentation

def google.appengine.ext.ndb.metadata.EntityGroup.key_for_entity_group (   cls,
  key 
)
Return the key for the entity group containing key.

Args:
  key: a key for an entity group whose __entity_group__ key you want.

Returns:
  The __entity_group__ key for the entity group containing key.

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