Skip to content

Commit 592c5cd

Browse files
jerjouJon Wayne Parrott
authored andcommitted
Remove vestigial comments about trusted testers (GoogleCloudPlatform#538)
1 parent cd76a54 commit 592c5cd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vision/api/label/label.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232

3333
from googleapiclient import discovery
3434
from oauth2client.client import GoogleCredentials
35-
36-
# The url template to retrieve the discovery document for trusted testers.
37-
DISCOVERY_URL = 'https://{api}.googleapis.com/$discovery/rest?version={apiVersion}' # noqa
3835
# [END import_libraries]
3936

4037

@@ -43,8 +40,7 @@ def main(photo_file):
4340

4441
# [START authenticate]
4542
credentials = GoogleCredentials.get_application_default()
46-
service = discovery.build('vision', 'v1', credentials=credentials,
47-
discoveryServiceUrl=DISCOVERY_URL)
43+
service = discovery.build('vision', 'v1', credentials=credentials)
4844
# [END authenticate]
4945

5046
# [START construct_request]

0 commit comments

Comments
 (0)