Skip to content
Permalink
Browse files
docs: remove http from batch execute docs (#1003)
`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 5028fe76c8075c6594b1999074f91eed7f7dd329
Showing with 2 additions and 2 deletions.
  1. +2 鈭2 docs/batch.md
@@ -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
@@ -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.