Skip to content

Commit

Permalink
fix: correctly instantiates client (#338)
Browse files Browse the repository at this point in the history
fixes #337
  • Loading branch information
danoscarmike authored Mar 9, 2020
1 parent b2ea14a commit 7a46524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/_verifying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 7a46524

Please sign in to comment.