google.appengine.datastore.datastore_stub_util.DatastoreStub

A stub that maps datastore service calls on to a BaseDatastore.

Inherits From: expected_type

This class also keeps track of query cursors.

Methods

Clear

View source

Clears out all stored values.

QueryHistory

View source

Returns a dict that maps Query PBs to times they've been run.

SetTrusted

View source

Set/clear the trusted bit in the stub.

This bit indicates that the app calling the stub is trusted. A trusted app can write to datastores of other apps.

Args
trusted boolean.