Refresh auto-generated docs
diff --git a/docs/epy/apiclient.http.BatchHttpRequest-class.html b/docs/epy/apiclient.http.BatchHttpRequest-class.html
index 2777fb2..7fc6904 100644
--- a/docs/epy/apiclient.http.BatchHttpRequest-class.html
+++ b/docs/epy/apiclient.http.BatchHttpRequest-class.html
@@ -68,13 +68,23 @@
Example:
from apiclient.http import BatchHttpRequest
- def list_animals(request_id, response):
+ def list_animals(request_id, response, exception):
"""Do something with the animals list response."""
- pass
+ if exception is not None:
+ # Do something with the exception.
+ pass
+ else:
+ # Do something with the response.
+ pass
- def list_farmers(request_id, response):
+ def list_farmers(request_id, response, exception):
"""Do something with the farmers list response."""
- pass
+ if exception is not None:
+ # Do something with the exception.
+ pass
+ else:
+ # Do something with the response.
+ pass
service = build('farm', 'v2')
@@ -372,8 +382,10 @@
Args:
callback: callable, A callback to be called for each response, of the
- form callback(id, response). The first parameter is the request id, and
- the second is the deserialized response object.
+ form callback(id, response, exception). The first parameter is the
+ request id, and the second is the deserialized response object. The
+ third is an apiclient.errors.HttpError exception object if an HTTP error
+ occurred while processing the request, or None if no error occurred.
batch_uri: string, URI to send batch requests to.
</pre>
@@ -529,7 +541,7 @@
payload: string, headers and body as a string.
Returns:
- A pair (resp, content) like would be returned from httplib2.request.
+ A pair (resp, content), such as would be returned from httplib2.request.
</pre>
<dl class="fields">
@@ -594,8 +606,10 @@
Args:
request: HttpRequest, Request to add to the batch.
callback: callable, A callback to be called for this response, of the
- form callback(id, response). The first parameter is the request id, and
- the second is the deserialized response object.
+ form callback(id, response, exception). The first parameter is the
+ request id, and the second is the deserialized response object. The
+ third is an apiclient.errors.HttpError exception object if an HTTP error
+ occurred while processing the request, or None if no errors occurred.
request_id: string, A unique id for the request. The id will be passed to
the callback with the response.
@@ -705,7 +719,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
- Generated by Epydoc 3.0.1 on Tue Jul 10 07:59:17 2012
+ Generated by Epydoc 3.0.1 on Thu Jul 12 10:44:09 2012
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"