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.api.search.search.GetResponse Class Reference
Inheritance diagram for google.appengine.api.search.search.GetResponse:

Public Member Functions

def __init__
 
def __iter__
 
def results
 
def __repr__
 

Detailed Description

Represents the result of executing a get request.

For example, the following code shows how a response could be used
to determine which documents were successfully removed or not.

response = index.get_range()
for document in response:
  print "document ", document

Constructor & Destructor Documentation

def google.appengine.api.search.search.GetResponse.__init__ (   self,
  results = None 
)
Initializer.

Args:
  results: The results returned from an index ordered by Id.

Raises:
  TypeError: If any of the parameters have an invalid type, or an unknown
attribute is passed.
  ValueError: If any of the parameters have an invalid value.

Member Function Documentation

def google.appengine.api.search.search.GetResponse.results (   self)
Returns a list of results ordered by Id from the index.

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