Skip to content

Commit

Permalink
docs: remove http from batch execute docs (#1003)
Browse files Browse the repository at this point in the history
`http=http` is optional

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-api-python-client/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #1002  馃
  • Loading branch information
busunkim96 committed Sep 1, 2020
1 parent 16448bc commit 5028fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/batch.md
Expand Up @@ -70,7 +70,7 @@ batch = service.new_batch_http_request()

batch.add(service.animals().list(), callback=list_animals)
batch.add(service.farmers().list(), callback=list_farmers)
batch.execute(http=http)
batch.execute()
```

```python
Expand All @@ -90,5 +90,5 @@ batch = service.new_batch_http_request(callback=insert_animal)
batch.add(service.animals().insert(name="sheep"))
batch.add(service.animals().insert(name="pig"))
batch.add(service.animals().insert(name="llama"))
batch.execute(http=http)
batch.execute()
```

0 comments on commit 5028fe7

Please sign in to comment.