View source on GitHub |
Control the namespacing system used by various APIs.
A namespace may be specified in various API calls exemplified by the datastore and memcache interfaces. The default can be specified using this module.
Classes
class BadValueError
: Raised by ValidateNamespaceString
.
Functions
get_namespace(...)
: Get the current default namespace or (''
) namespace if unset.
set_namespace(...)
: Set the default namespace for the current HTTP request.
validate_namespace(...)
: Raises an exception if value is not a valid namespace string.