![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | key_for_entity_group |
![]() | |
def | __init__ |
def | __getstate__ |
def | __setstate__ |
def | __repr__ |
def | __hash__ |
def | __eq__ |
![]() | |
def | __ne__ |
Static Public Attributes | |
string | KIND_NAME = '__entity_group__' |
int | ID = 1 |
tuple | version = model.IntegerProperty(name='__version__') |
![]() | |
string | KIND_NAME = '' |
![]() | |
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 | |
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.
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.