From 5028fe76c8075c6594b1999074f91eed7f7dd329 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 1 Sep 2020 07:50:02 -0600 Subject: [PATCH] docs: remove http from batch execute docs (#1003) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 🦕 --- docs/batch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/batch.md b/docs/batch.md index b8b31058420..260c128d628 100644 --- a/docs/batch.md +++ b/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() ```