App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.remote_api.handler.RemoteDatastoreStub Class Reference
Inheritance diagram for google.appengine.ext.remote_api.handler.RemoteDatastoreStub:

Public Member Functions

def __init__
 

Detailed Description

Provides a stub that permits execution of stateful datastore queries.

Some operations aren't possible using the standard interface. Notably,
datastore RunQuery operations internally store a cursor that is referenced in
later Next calls, and cleaned up at the end of each request. Because every
call to ApiCallHandler takes place in its own request, this isn't possible.

To work around this, RemoteDatastoreStub provides its own implementation of
RunQuery that immediately returns the query results.

Constructor & Destructor Documentation

def google.appengine.ext.remote_api.handler.RemoteDatastoreStub.__init__ (   self,
  service = 'datastore_v3',
  _test_stub_map = None 
)
Constructor.

Args:
  service: The name of the service
  _test_stub_map: An APIProxyStubMap to use for testing purposes.

The documentation for this class was generated from the following file: