Module Expr Str Assign NameStore Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Assign NameStore BinOpPow Num Num Assign NameStore Num ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If NameLoad body If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body If NameLoad body Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareIn Str NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad CompareIn Str NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body If NameLoad body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If BinOpMod Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore ListComp TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Call NameLoad NameLoad Num orelse Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If CompareIs NameLoad NameLoad body If CompareLt BinOpAdd NameLoad Num Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str orelse If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Slice Num Call AttributeLoad NameLoad attr If NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Return TupleLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareNotEq BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Num body Raise Call NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return TupleLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Call NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad NameLoad attr Call NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Return BinOpMod Str Call AttributeLoad Str attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return CompareLt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return CompareLtE Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return CompareGt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad Return CompareGtE Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareLtE Call NameLoad NameLoad Num body Return NameLoad Return Call NameLoad keyword SubscriptLoad NameLoad Slice Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareLtE Call NameLoad NameLoad Num body Return NameLoad Return Call NameLoad keyword SubscriptLoad NameLoad Slice Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Str attr Str Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareNotEq BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Num body Raise Call NameLoad Str If BoolOpOr NameLoad NameLoad body If NameLoad body If BinOpMod Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore ListComp TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Call NameLoad NameLoad Num orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign SubscriptStore NameLoad Slice Num Call AttributeLoad NameLoad attr If NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad orelse If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Pass orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body ImportFrom alias Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Pass orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If Call NameLoad NameLoad NameLoad body Pass orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot CompareLtELtE Num Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body If UnaryOpNot CompareLtELtE Num Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot CompareLtELtE Num Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot CompareLtELtE Num Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Call NameLoad NameLoad Num If NameLoad body AugAssignAdd NameStore BinOpMult Str BinOpSub Num NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list
N/A N/A The Key class, and associated utilities.

A Key encapsulates the following pieces of information, which together
uniquely designate a (possible) entity in the App Engine datastore:

- an application id (a string)
- a namespace (a string)
- a list of one or more (kind, id) pairs where kind is a string and id
  is either a string or an integer.

The application id must always be part of the key, but since most
applications can only access their own entities, it defaults to the
current application id and you rarely need to worry about it.  It must
not be empty.

The namespace designates a top-level partition of the key space for a
particular application.  If you've never heard of namespaces, you can
safely ignore this feature.

Most of the action is in the (kind, id) pairs.  A key must have at
least one (kind, id) pair.  The last (kind, id) pair gives the kind
and the id of the entity that the key refers to, the others merely
specify a 'parent key'.

The kind is a string giving the name of the model class used to
represent the entity.  (In more traditional databases this would be
the table name.)  A model class is a Python class derived from
ndb.Model; see the documentation for ndb/model.py.  Only the class
name itself is used as the kind.  This means all your model classes
must be uniquely named within one application.  You can override this
on a per-class basis.

The id is either a string or an integer.  When the id is a string, the
application is in control of how it assigns ids: For example, if you
could use an email address as the id for Account entities.

To use integer ids, you must let the datastore choose a unique id for
an entity when it is first inserted into the datastore.  You can set
the id to None to represent the key for an entity that hasn't yet been
inserted into the datastore.  The final key (including the assigned
id) will be returned after the entity is successfully inserted into
the datastore.

A key for which the id of the last (kind, id) pair is set to None is
called an incomplete key.  Such keys can only be used to insert
entities into the datastore.

A key with exactly one (kind, id) pair is called a top level key or a
root key.  Top level keys are also used as entity groups, which play a
role in transaction management.

If there is more than one (kind, id) pair, all but the last pair
represent the 'ancestor path', also known as the key of the 'parent
entity'.

Other constraints:

- Kinds and string ids must not be empty and must be at most 500 bytes
  long (after UTF-8 encoding, if given as Python unicode objects).
  NOTE: This is defined as a module level constant _MAX_KEYPART_BYTES.

- Integer ids must be at least 1 and less than 2**63.

For more info about namespaces, see
http://code.google.com/appengine/docs/python/multitenancy/overview.html.
The namespace defaults to the 'default namespace' selected by the
namespace manager.  To explicitly select the empty namespace pass
namespace=''.
 N/A __author__ guido@google.com (Guido van Rossum) N/A base64 N/A os google_imports datastore_errors google_imports datastore_types google_imports namespace_manager google_imports entity_pb N/A utils N/A __all__ N/A Key N/A _MAX_LONG N/A 2 63 N/A _MAX_KEYPART_BYTES 500 Key N/A object N/A N/A An immutable datastore key.

  For flexibility and convenience, multiple constructor signatures are
  supported.

  The primary way to construct a key is using positional arguments:
  - Key(kind1, id1, kind2, id2, ...).

  This is shorthand for either of the following two longer forms:
  - Key(pairs=[(kind1, id1), (kind2, id2), ...])
  - Key(flat=[kind1, id1, kind2, id2, ...])

  Either of the above constructor forms can additionally pass in another
  key using parent=<key>.  The (kind, id) pairs of the parent key are
  inserted before the (kind, id) pairs passed explicitly.

  You can also construct a Key from a 'url-safe' encoded string:
  - Key(urlsafe=<string>)

  For esoteric purposes the following constructors exist:
  - Key(reference=<reference>) -- passing in a low-level Reference object
  - Key(serialized=<string>) -- passing in a serialized low-level Reference
  - Key(<dict>) -- for unpickling, the same as Key(**<dict>)

  The 'url-safe' string is really a websafe-base64-encoded serialized
  Reference, but it's best to think of it as just an opaque unique
  string.

  Additional constructor keyword arguments:
  - app=<string> -- specify the application id
  - namespace=<string> -- specify the namespace

  If a Reference is passed (using one of reference, serialized or
  urlsafe), the args and namespace keywords must match what is already
  present in the Reference (after decoding if necessary).  The parent
  keyword cannot be combined with a Reference in any form.


  Keys are immutable, which means that a Key object cannot be modified
  once it has been created.  This is enforced by the implementation as
  well as Python allows.

  For access to the contents of a key, the following methods and
  operations are supported:

  - repr(key), str(key) -- return a string representation resembling
    the shortest constructor form, omitting the app and namespace
    unless they differ from the default value.

  - key1 == key2, key1 != key2 -- comparison for equality between Keys.

  - hash(key) -- a hash value sufficient for storing Keys in a dict.

  - key.pairs() -- a tuple of (kind, id) pairs.

  - key.flat() -- a tuple of flattened kind and id values, i.e.
    (kind1, id1, kind2, id2, ...).

  - key.app() -- the application id.

  - key.id() -- the string or integer id in the last (kind, id) pair,
    or None if the key is incomplete.

  - key.string_id() -- the string id in the last (kind, id) pair,
    or None if the key has an integer id or is incomplete.

  - key.integer_id() -- the integer id in the last (kind, id) pair,
    or None if the key has a string id or is incomplete.

  - key.namespace() -- the namespace.

  - key.kind() -- a shortcut for key.pairs()[-1][0].

  - key.parent() -- a Key constructed from all but the last (kind, id)
    pairs.

  - key.urlsafe() -- a websafe-base64-encoded serialized Reference.

  - key.serialized() -- a serialized Reference.

  - key.reference() -- a Reference object.  The caller promises not to
    mutate it.

  Keys also support interaction with the datastore; these methods are
  the only ones that engage in any kind of I/O activity.  For Future
  objects, see the document for ndb/tasklets.py.

  - key.get() -- return the entity for the Key.

  - key.get_async() -- return a Future whose eventual result is
    the entity for the Key.

  - key.delete() -- delete the entity for the Key.

  - key.delete_async() -- asynchronously delete the entity for the Key.

  Keys may be pickled.

  Subclassing Key is best avoided; it would be hard to get right.
   N/A __slots__ N/A __reference __pairs __app __namespace __new__ N/A N/A cls N/A _args kwargs N/A N/A Constructor.  See the class docstring for arguments. N/A _args N/A N/A N/A N/A N/A len _args 1 N/A isinstance N/A _args N/A 0 dict N/A N/A kwargs N/A N/A N/A TypeError Key() takes no keyword arguments when a dict is the the first and only non-keyword argument (for unpickling). N/A kwargs N/A _args N/A 0 N/A N/A N/A flat kwargs N/A N/A N/A TypeError Key() with positional arguments cannot accept flat as a keyword argument. N/A N/A kwargs N/A flat _args N/A self N/A N/A N/A super Key cls __new__ cls N/A N/A N/A reference kwargs N/A serialized kwargs N/A urlsafe kwargs N/A N/A N/A N/A self __reference N/A self __pairs N/A self __app N/A self __namespace N/A N/A self _parse_from_ref cls kwargs N/A N/A N/A N/A pairs kwargs N/A flat kwargs N/A N/A N/A self __reference None N/A N/A N/A self __pairs N/A self __app N/A self __namespace N/A N/A self _parse_from_args kwargs N/A N/A N/A TypeError Key() cannot create a Key instance without arguments. N/A self N/A _parse_from_args N/A N/A pairs flat app namespace parent N/A None None None None None N/A N/A flat N/A N/A N/A pairs None N/A N/A N/A TypeError Key() cannot accept both flat and pairs arguments. N/A N/A N/A len flat 2 N/A N/A N/A ValueError Key() must have an even number of positional arguments. N/A pairs N/A N/A N/A flat N/A i N/A flat N/A N/A i 1 N/A i N/A xrange 0 N/A len flat 2 N/A N/A pairs N/A list pairs N/A N/A pairs N/A N/A N/A TypeError Key must consist of at least one pair. N/A N/A i N/A kind id N/A enumerate pairs N/A N/A N/A isinstance id unicode N/A N/A id N/A N/A id encode utf8 N/A N/A N/A id None N/A N/A N/A N/A i 1 N/A len pairs N/A N/A N/A N/A datastore_errors BadArgumentError Incomplete Key entry must be last N/A N/A N/A N/A isinstance id N/A int long str N/A N/A N/A TypeError N/A Key id must be a string or a number; received %r id N/A N/A isinstance kind type N/A N/A kind N/A N/A kind _get_kind N/A N/A isinstance kind unicode N/A N/A kind N/A N/A kind encode utf8 N/A N/A N/A isinstance kind str N/A N/A N/A TypeError N/A Key kind must be a string or Model class; received %r kind N/A N/A id N/A N/A id None N/A N/A pairs N/A i N/A kind id N/A N/A parent None N/A N/A N/A N/A isinstance parent Key N/A N/A N/A N/A datastore_errors BadValueError N/A Expected Key instance, got %r parent N/A N/A N/A N/A parent id N/A N/A N/A N/A datastore_errors BadArgumentError Parent cannot have incomplete key N/A N/A pairs N/A 0 N/A N/A parent pairs N/A app N/A N/A N/A app N/A N/A parent app N/A N/A N/A ValueError N/A Cannot specify a different app %r than the parent app %r N/A app N/A N/A parent app N/A N/A app N/A N/A parent app N/A N/A namespace None N/A N/A N/A namespace N/A N/A parent namespace N/A N/A N/A ValueError N/A Cannot specify a different namespace %r than the parent namespace %r N/A namespace N/A N/A parent namespace N/A N/A namespace N/A N/A parent namespace N/A N/A app N/A N/A app N/A _DefaultAppId N/A N/A namespace None N/A N/A namespace N/A _DefaultNamespace N/A N/A N/A tuple pairs app namespace N/A staticmethod _parse_from_ref N/A N/A cls pairs flat reference serialized urlsafe app namespace parent N/A None None None None None None None None N/A N/A Construct a Reference; the signature is the same as for Key. N/A N/A cls Key N/A N/A N/A TypeError N/A Cannot construct Key reference on non-Key class; received %r cls N/A N/A N/A N/A N/A N/A N/A N/A bool pairs N/A bool flat N/A bool reference N/A bool serialized N/A bool urlsafe N/A bool parent 1 N/A N/A N/A TypeError Cannot construct Key reference from incompatible keyword arguments. N/A urlsafe N/A N/A serialized N/A _DecodeUrlSafe urlsafe N/A serialized N/A N/A reference N/A _ReferenceFromSerialized serialized N/A reference N/A N/A reference N/A _ReferenceFromReference reference N/A pairs N/A N/A elem None N/A path N/A N/A reference path N/A elem N/A N/A path element_list N/A N/A kind N/A N/A elem type N/A N/A N/A elem has_id N/A N/A id_or_name N/A N/A elem id N/A N/A id_or_name N/A N/A elem name N/A N/A id_or_name N/A N/A id_or_name None N/A tup N/A kind id_or_name N/A N/A N/A pairs append tup N/A N/A elem None N/A N/A N/A RuntimeError N/A Key reference has no path or elements (%r, %r, %r). N/A urlsafe serialized N/A str reference N/A ref_app N/A N/A reference app N/A N/A app None N/A N/A N/A app ref_app N/A N/A N/A RuntimeError N/A Key reference constructed uses a different app %r than the one specified %r N/A ref_app app N/A ref_namespace N/A N/A reference name_space N/A N/A namespace None N/A N/A N/A namespace ref_namespace N/A N/A N/A RuntimeError N/A Key reference constructed uses a different namespace %r than the one specified %r N/A ref_namespace namespace N/A N/A reference N/A tuple pairs ref_app ref_namespace N/A staticmethod __repr__ N/A N/A self N/A N/A N/A String representation, used by str() and repr().

    We produce a short string that conveys all relevant information,
    suppressing app and namespace when they are equal to the default.
     N/A args N/A N/A item N/A N/A self flat N/A N/A N/A item N/A N/A N/A N/A args append None N/A N/A N/A isinstance item basestring N/A N/A N/A N/A isinstance item str N/A N/A N/A TypeError N/A Key item is not an 8-bit string %r item N/A N/A N/A args append N/A repr item N/A N/A N/A N/A args append N/A str item N/A N/A N/A N/A self app N/A _DefaultAppId N/A N/A N/A N/A args append N/A app=%r N/A N/A self app N/A N/A N/A N/A self namespace N/A _DefaultNamespace N/A N/A N/A N/A args append N/A namespace=%r N/A N/A self namespace N/A N/A Key(%s) N/A N/A ,  join args N/A N/A __str__ __repr__ __hash__ N/A N/A self N/A N/A N/A Hash value, for use in dict lookups. N/A N/A hash N/A tuple N/A N/A self pairs N/A __eq__ N/A N/A self other N/A N/A N/A Equality comparison operation. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __pairs N/A other __pairs N/A N/A self __app N/A other __app N/A N/A self __namespace N/A other __namespace N/A __ne__ N/A N/A self other N/A N/A N/A The opposite of __eq__. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __eq__ other N/A __tuple N/A N/A self N/A N/A N/A Helper to return an orderable tuple. N/A N/A N/A self __app N/A self __namespace N/A self __pairs N/A __lt__ N/A N/A self other N/A N/A N/A Less than ordering. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __tuple N/A N/A other __tuple N/A __le__ N/A N/A self other N/A N/A N/A Less than or equal ordering. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __tuple N/A N/A other __tuple N/A __gt__ N/A N/A self other N/A N/A N/A Greater than ordering. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __tuple N/A N/A other __tuple N/A __ge__ N/A N/A self other N/A N/A N/A Greater than or equal ordering. N/A N/A N/A isinstance other Key N/A N/A NotImplemented N/A N/A N/A N/A self __tuple N/A N/A other __tuple N/A __getstate__ N/A N/A self N/A N/A N/A Private API used for pickling. N/A N/A N/A pairs app namespace N/A self __pairs N/A self __app N/A self __namespace N/A __setstate__ N/A N/A self state N/A N/A N/A Private API used for pickling. N/A N/A N/A len state 1 N/A N/A N/A TypeError N/A Invalid state length, expected 1; received %i N/A len state N/A kwargs N/A state N/A 0 N/A N/A N/A isinstance kwargs dict N/A N/A N/A TypeError N/A Key accepts a dict of keyword arguments as state; received %r kwargs N/A N/A self __reference None N/A N/A self __pairs N/A tuple N/A kwargs N/A pairs N/A N/A self __app N/A kwargs N/A app N/A N/A self __namespace N/A kwargs N/A namespace N/A __getnewargs__ N/A N/A self N/A N/A N/A Private API used for pickling. N/A N/A N/A pairs app namespace N/A self __pairs N/A self __app N/A self __namespace N/A parent N/A N/A self N/A N/A N/A Return a Key constructed from all but the last (kind, id) pairs.

    If there is only one (kind, id) pair, return None.
     N/A pairs N/A self __pairs N/A N/A N/A len pairs 1 N/A N/A None N/A N/A Key pairs N/A pairs N/A -1 app N/A self __app namespace N/A self __namespace N/A root N/A N/A self N/A N/A N/A Return the root key.  This is either self or the highest parent. N/A pairs N/A self __pairs N/A N/A N/A len pairs 1 N/A N/A self N/A N/A Key pairs N/A pairs N/A 1 app N/A self __app namespace N/A self __namespace N/A namespace N/A N/A self N/A N/A N/A Return the namespace. N/A N/A self __namespace N/A app N/A N/A self N/A N/A N/A Return the application id. N/A N/A self __app N/A id N/A N/A self N/A N/A N/A Return the string or integer id in the last (kind, id) pair, if any.

    Returns:
      A string or integer id, or None if the key is incomplete.
     N/A N/A N/A N/A self __pairs N/A -1 N/A 1 N/A string_id N/A N/A self N/A N/A N/A Return the string id in the last (kind, id) pair, if any.

    Returns:
      A string id, or None if the key has an integer id or is incomplete.
     N/A id N/A N/A self id N/A N/A N/A isinstance id basestring N/A N/A id None N/A id N/A integer_id N/A N/A self N/A N/A N/A Return the integer id in the last (kind, id) pair, if any.

    Returns:
      An integer id, or None if the key has a string id or is incomplete.
     N/A id N/A N/A self id N/A N/A N/A isinstance id N/A int long N/A N/A id None N/A id N/A pairs N/A N/A self N/A N/A N/A Return a tuple of (kind, id) pairs. N/A N/A self __pairs N/A flat N/A N/A self N/A N/A N/A Return a tuple of alternating kind and id values. N/A flat N/A N/A N/A kind id N/A self __pairs N/A N/A N/A N/A flat append kind N/A N/A N/A flat append id N/A N/A tuple flat N/A kind N/A N/A self N/A N/A N/A Return the kind of the entity referenced.

    This is the kind from the last (kind, id) pair.
     N/A N/A N/A N/A self __pairs N/A -1 N/A 0 N/A reference N/A N/A self N/A N/A N/A Return the Reference object for this Key.

    This is a entity_pb.Reference instance -- a protocol buffer class
    used by the lower-level API to the datastore.

    NOTE: The caller should not mutate the return value.
     N/A N/A N/A self __reference None N/A N/A N/A self __reference N/A _ConstructReference N/A self __class__ pairs N/A self __pairs app N/A self __app namespace N/A self __namespace N/A N/A self __reference N/A serialized N/A N/A self N/A N/A N/A Return a serialized Reference object for this Key. N/A N/A N/A N/A N/A self reference Encode N/A urlsafe N/A N/A self N/A N/A N/A Return a url-safe string encoding this Key's Reference.

    This string is compatible with other APIs and languages and with
    the strings used to represent Keys in GQL and in the App Engine
    Admin Console.
     N/A urlsafe N/A N/A base64 b64encode N/A N/A N/A N/A self reference Encode N/A N/A N/A N/A N/A N/A N/A urlsafe rstrip = replace + - replace / _ N/A get N/A N/A self N/A ctx_options N/A N/A Synchronously get the entity for this Key.

    Return None if there is no such entity.
     N/A N/A N/A N/A N/A self get_async ctx_options get_result N/A get_async N/A N/A self N/A ctx_options N/A N/A Return a Future whose result is the entity for this Key.

    If no such entity exists, a Future is still returned, and the
    Future's eventual return result be None.
     N/A model tasklets N/A ctx N/A N/A tasklets get_context N/A cls N/A N/A N/A N/A model Model _kind_map get N/A N/A self kind N/A cls N/A N/A N/A N/A cls _pre_get_hook self N/A fut N/A N/A ctx get self ctx_options N/A cls N/A N/A post_hook N/A cls _post_get_hook N/A N/A N/A N/A cls _is_default_hook N/A N/A model Model _default_post_get_hook post_hook N/A N/A N/A N/A fut add_immediate_callback post_hook self fut N/A fut N/A delete N/A N/A self N/A ctx_options N/A N/A Synchronously delete the entity for this Key.

    This is a no-op if no such entity exists.
     N/A N/A N/A N/A N/A self delete_async ctx_options get_result N/A delete_async N/A N/A self N/A ctx_options N/A N/A Schedule deletion of the entity for this Key.

    This returns a Future, whose result becomes available once the
    deletion is complete.  If no such entity exists, a Future is still
    returned.  In all cases the Future's result is None (i.e. there is
    no way to tell whether the entity existed or not).
     N/A tasklets model N/A ctx N/A N/A tasklets get_context N/A cls N/A N/A N/A N/A model Model _kind_map get N/A N/A self kind N/A cls N/A N/A N/A N/A cls _pre_delete_hook self N/A fut N/A N/A ctx delete self ctx_options N/A cls N/A N/A post_hook N/A cls _post_delete_hook N/A N/A N/A N/A cls _is_default_hook N/A N/A model Model _default_post_delete_hook post_hook N/A N/A N/A N/A fut add_immediate_callback post_hook self fut N/A fut N/A from_old_key N/A N/A cls old_key N/A N/A N/A N/A cls urlsafe N/A str old_key N/A classmethod to_old_key N/A N/A self N/A N/A N/A N/A N/A datastore_types Key encoded N/A N/A self urlsafe N/A N/A _ConstructReference N/A N/A cls pairs flat reference serialized urlsafe app namespace parent N/A None None None None None None None None N/A N/A Construct a Reference; the signature is the same as for Key. N/A N/A cls Key N/A N/A N/A TypeError N/A Cannot construct Key reference on non-Key class; received %r cls N/A N/A N/A N/A N/A N/A N/A bool pairs N/A bool flat N/A bool reference N/A bool serialized N/A bool urlsafe 1 N/A N/A N/A TypeError Cannot construct Key reference from incompatible keyword arguments. N/A N/A flat pairs N/A N/A flat N/A N/A N/A N/A len flat 2 N/A N/A N/A TypeError _ConstructReference() must have an even number of positional arguments. N/A pairs N/A N/A N/A flat N/A i N/A flat N/A N/A i 1 N/A i N/A xrange 0 N/A len flat 2 N/A N/A N/A parent None N/A N/A pairs N/A list pairs N/A N/A pairs N/A N/A N/A TypeError Key references must consist of at least one pair. N/A N/A parent None N/A N/A N/A N/A isinstance parent Key N/A N/A N/A N/A datastore_errors BadValueError N/A Expected Key instance, got %r parent N/A N/A pairs N/A 0 N/A N/A parent pairs N/A app N/A N/A N/A app N/A N/A parent app N/A N/A N/A ValueError N/A Cannot specify a different app %r than the parent app %r N/A app N/A N/A parent app N/A N/A app N/A N/A parent app N/A N/A namespace None N/A N/A N/A namespace N/A N/A parent namespace N/A N/A N/A ValueError N/A Cannot specify a different namespace %r than the parent namespace %r N/A namespace N/A N/A parent namespace N/A N/A namespace N/A N/A parent namespace N/A reference N/A _ReferenceFromPairs pairs app app namespace namespace N/A N/A N/A parent None N/A N/A N/A TypeError Key reference cannot be constructed when the parent argument is combined with either reference, serialized or urlsafe arguments. N/A urlsafe N/A N/A serialized N/A _DecodeUrlSafe urlsafe N/A serialized N/A N/A reference N/A _ReferenceFromSerialized serialized N/A N/A N/A N/A N/A N/A reference path element_size N/A N/A N/A RuntimeError N/A Key reference has no path or elements (%r, %r, %r). N/A urlsafe serialized N/A str reference N/A N/A serialized N/A N/A reference N/A _ReferenceFromReference reference N/A N/A app None N/A N/A ref_app N/A N/A reference app N/A N/A app ref_app N/A N/A N/A RuntimeError N/A Key reference constructed uses a different app %r than the one specified %r N/A ref_app app N/A N/A namespace None N/A N/A ref_namespace N/A N/A reference name_space N/A N/A namespace ref_namespace N/A N/A N/A RuntimeError N/A Key reference constructed uses a different namespace %r than the one specified %r N/A ref_namespace namespace N/A reference N/A N/A N/A utils positional 1 _ReferenceFromPairs N/A N/A pairs reference app namespace N/A None None None N/A N/A Construct a Reference from a list of pairs.

  If a Reference is passed in as the second argument, it is modified
  in place.  The app and namespace are set from the corresponding
  keyword arguments, with the customary defaults.
   N/A N/A reference None N/A N/A reference N/A N/A entity_pb Reference N/A path N/A N/A reference mutable_path N/A last False N/A N/A kind idorname pairs N/A N/A last N/A N/A N/A N/A datastore_errors BadArgumentError Incomplete Key entry must be last N/A t N/A type kind N/A N/A t str N/A N/A N/A N/A N/A t unicode N/A N/A kind N/A N/A kind encode utf8 N/A N/A N/A issubclass t type N/A model Model N/A modelclass kind N/A N/A N/A issubclass modelclass Model N/A N/A N/A TypeError N/A Key kind must be either a string or subclass of Model; received %r modelclass N/A kind N/A N/A modelclass _get_kind N/A t N/A type kind N/A N/A t str N/A N/A N/A N/A N/A t unicode N/A N/A kind N/A N/A kind encode utf8 N/A N/A N/A issubclass t str N/A N/A N/A N/A N/A issubclass t unicode N/A N/A kind N/A N/A kind encode utf8 N/A N/A N/A TypeError N/A Key kind must be either a string or subclass of Model; received %r kind N/A N/A N/A 1 N/A len kind _MAX_KEYPART_BYTES N/A N/A N/A ValueError N/A Key kind string must be a non-empty string up to %ibytes; received %s N/A _MAX_KEYPART_BYTES kind N/A elem N/A N/A path add_element N/A N/A N/A elem set_type kind N/A t N/A type idorname N/A N/A N/A t int N/A t long N/A N/A N/A N/A 1 idorname _MAX_LONG N/A N/A N/A ValueError N/A Key id number is too long; received %i idorname N/A N/A N/A elem set_id idorname N/A N/A N/A t str N/A N/A N/A N/A 1 N/A len idorname _MAX_KEYPART_BYTES N/A N/A N/A ValueError N/A Key name strings must be non-empty strings up to %i bytes; received %s N/A _MAX_KEYPART_BYTES idorname N/A N/A N/A elem set_name idorname N/A N/A N/A t unicode N/A N/A idorname N/A N/A idorname encode utf8 N/A N/A N/A 1 N/A len idorname _MAX_KEYPART_BYTES N/A N/A N/A ValueError N/A Key name unicode strings must be non-empty strings up to %i bytes; received %s N/A _MAX_KEYPART_BYTES idorname N/A N/A N/A elem set_name idorname N/A N/A N/A idorname None N/A N/A last True N/A N/A N/A issubclass t N/A int long N/A N/A N/A N/A 1 idorname _MAX_LONG N/A N/A N/A ValueError N/A Key id number is too long; received %i idorname N/A N/A N/A elem set_id idorname N/A N/A N/A issubclass t basestring N/A N/A N/A issubclass t unicode N/A N/A idorname N/A N/A idorname encode utf8 N/A N/A N/A 1 N/A len idorname _MAX_KEYPART_BYTES N/A N/A N/A ValueError N/A Key name strings must be non-empty strings up to %i bytes; received %s N/A _MAX_KEYPART_BYTES idorname N/A N/A N/A elem set_name idorname N/A N/A N/A TypeError N/A id must be either a numeric id or a string name; received %r idorname N/A N/A app N/A N/A app N/A _DefaultAppId N/A N/A N/A reference set_app app N/A N/A namespace None N/A N/A namespace N/A _DefaultNamespace N/A namespace N/A N/A N/A N/A reference set_name_space namespace N/A reference N/A _ReferenceFromReference N/A N/A reference N/A N/A N/A Copy a Reference. N/A new_reference N/A N/A entity_pb Reference N/A N/A N/A new_reference CopyFrom reference N/A new_reference N/A _ReferenceFromSerialized N/A N/A serialized N/A N/A N/A Construct a Reference from a serialized Reference. N/A N/A N/A isinstance serialized basestring N/A N/A N/A TypeError N/A serialized must be a string; received %r serialized N/A N/A N/A isinstance serialized unicode N/A N/A serialized N/A N/A serialized encode utf8 N/A N/A N/A entity_pb Reference serialized N/A _DecodeUrlSafe N/A N/A urlsafe N/A N/A N/A Decode a url-safe base64-encoded string.

  This returns the decoded string.
   N/A N/A N/A isinstance urlsafe basestring N/A N/A N/A TypeError N/A urlsafe must be a string; received %r urlsafe N/A N/A isinstance urlsafe unicode N/A N/A urlsafe N/A N/A urlsafe encode utf8 N/A mod N/A N/A len urlsafe 4 N/A mod N/A N/A urlsafe N/A = N/A 4 mod N/A N/A N/A base64 b64decode N/A N/A N/A N/A urlsafe replace - + replace _ / N/A _DefaultAppId N/A N/A N/A N/A N/A Return the default application id.

  This is taken from the APPLICATION_ID environment variable.
   N/A N/A N/A os getenv APPLICATION_ID _ N/A _DefaultNamespace N/A N/A N/A N/A N/A Return the default namespace.

  This is taken from the namespace manager.
   N/A N/A N/A namespace_manager get_namespace N/A