![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __new__ |
def | ToXml |
A base class for datastore types that are encoded as bytes. This behaves identically to the Python str type, except for the constructor, which only accepts str arguments.
def google.appengine.api.datastore_types._BaseByteType.__new__ | ( | cls, | |
arg = None |
|||
) |
Constructor. We only accept str instances. Args: arg: optional str instance (default '')
def google.appengine.api.datastore_types._BaseByteType.ToXml | ( | self | ) |
Output bytes as XML. Returns: Base64 encoded version of itself for safe insertion in to an XML document.