![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | namespace_name |
def | key_for_namespace |
def | key_to_namespace |
![]() | |
def | __init__ |
def | __getstate__ |
def | __setstate__ |
def | __repr__ |
def | __hash__ |
def | __eq__ |
![]() | |
def | __ne__ |
Static Public Attributes | |
string | KIND_NAME = '__namespace__' |
int | EMPTY_NAMESPACE_ID = 1 |
![]() | |
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 __namespace__ metadata query results.
def google.appengine.ext.ndb.metadata.Namespace.key_for_namespace | ( | cls, | |
namespace | |||
) |
Return the Key for a namespace. Args: namespace: A string giving the namespace whose key is requested. Returns: The Key for the namespace.
def google.appengine.ext.ndb.metadata.Namespace.key_to_namespace | ( | cls, | |
key | |||
) |
Return the namespace specified by a given __namespace__ key. Args: key: key whose name is requested. Returns: The namespace specified by key.
def google.appengine.ext.ndb.metadata.Namespace.namespace_name | ( | self | ) |
Return the namespace name specified by this entity's key.