Skip to content

Commit 5028fe7

Browse files
authored
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 🦕
1 parent 16448bc commit 5028fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ batch = service.new_batch_http_request()
7070

7171
batch.add(service.animals().list(), callback=list_animals)
7272
batch.add(service.farmers().list(), callback=list_farmers)
73-
batch.execute(http=http)
73+
batch.execute()
7474
```
7575

7676
```python
@@ -90,5 +90,5 @@ batch = service.new_batch_http_request(callback=insert_animal)
9090
batch.add(service.animals().insert(name="sheep"))
9191
batch.add(service.animals().insert(name="pig"))
9292
batch.add(service.animals().insert(name="llama"))
93-
batch.execute(http=http)
93+
batch.execute()
9494
```

0 commit comments

Comments
 (0)