Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/batch.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object in a batch request.
## Details
You create batch requests by calling `new_batch_http_request()` on your service
object, which returns a
[BatchHttpRequest](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html)
[BatchHttpRequest](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html)
object, and then calling `add()` for each request you want to execute.
You may pass in a callback with each request that is called with the response to that request.
The callback function arguments are:
Expand All @@ -39,7 +39,7 @@ You can also supply a single callback that gets called for each response:
<pre class="prettyprint">See below</pre>

The
[add()](https://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html#add)
[add()](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.BatchHttpRequest-class.html#add)
method also allows you to supply a <code>request_id</code> parameter for each request.
These IDs are provided to the callbacks.
If you don't supply one, the library creates one for you.
Expand Down
2 changes: 1 addition & 1 deletion docs/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ nested_collection = service.featured().stamps()

### Methods and requests

Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](http://google.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this:
Every collection has a list of methods defined by the API. Calling a collection's method returns an [HttpRequest](https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html) object. If the given API collection has a method named `list` that takes an argument called `cents`, you create a request object for that method like this:

```python
request = collection.list(cents=5)
Expand Down
Loading