|View source on GitHub|
In-memory persistent stub for the Python datastore API. Gets, queries,
and searches are implemented as in-memory scans over all entities.
Stores entities across sessions as pickled proto bufs in a single file. On
startup, all entities are read from the file and loaded into memory. On
Put(), the file is wiped and all entities are written from scratch.
Clients can also manually
Write() the file themselves.
class DatastoreFileStub: Persistent stub for the Python datastore API.
class KindPseudoKind: Pseudo-kind for schema queries.
class NamespacePseudoKind: Pseudo-kind for namespace queries.
class PropertyPseudoKind: Pseudo-kind for schema queries.