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.Kind Class Reference
Inheritance diagram for google.appengine.ext.ndb.metadata.Kind:
google.appengine.ext.ndb.metadata._BaseMetadata google.appengine.ext.ndb.model.Model google.appengine.ext.ndb.model._NotEqualMixin

Public Member Functions

def kind_name
 
def key_for_kind
 
def key_to_kind
 
- 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 = '__kind__'
 
- 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 __kind__ metadata query results.

Member Function Documentation

def google.appengine.ext.ndb.metadata.Kind.key_for_kind (   cls,
  kind 
)
Return the __kind__ key for kind.

Args:
  kind: kind whose key is requested.

Returns:
  The key for kind.
def google.appengine.ext.ndb.metadata.Kind.key_to_kind (   cls,
  key 
)
Return the kind specified by a given __kind__ key.

Args:
  key: key whose name is requested.

Returns:
  The kind specified by key.
def google.appengine.ext.ndb.metadata.Kind.kind_name (   self)
Return the kind name specified by this entity's key.

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