From 7a46524bc7f2eabd7dab27313bb752c27afc358b Mon Sep 17 00:00:00 2001 From: Dan O'Meara Date: Mon, 9 Mar 2020 10:34:18 -0700 Subject: [PATCH] fix: correctly instantiates client (#338) fixes #337 --- docs/getting-started/_verifying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/_verifying.rst b/docs/getting-started/_verifying.rst index bc33ed8303..50fd3a676b 100644 --- a/docs/getting-started/_verifying.rst +++ b/docs/getting-started/_verifying.rst @@ -33,7 +33,7 @@ Here is a test script: # # If you wish, you can send `transport='grpc'` or `transport='http'` # to change which underlying transport layer is being used. - ia = vision.ImageAnnotator(host='vision.googleapis.com') + ia = vision.ImageAnnotatorClient() # Send the request to the server and get the response. response = ia.batch_annotate_images({