8000 removed the env variable · msagarwala/python-docs-samples@9a4540c · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a4540c

Browse files
committed
removed the env variable
1 parent 12122b5 commit 9a4540c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

language/api/analyze.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
import httplib2
2525
from oauth2client.client import GoogleCredentials
2626

27-
# TODO REMOVE - when discovery is public
28-
GOOGLE_API_KEY = "GOOGLE_API_KEY"
2927

3028
# TODO REMOVE - when discovery is public
3129
DISCOVERY_URL = ('https://language.googleapis.com/$discovery/rest?'
@@ -37,7 +35,8 @@ def get_service():
3735
['https://www.googleapis.com/auth/cloud-platform'])
3836
http = httplib2.Http()
3937
scoped_credentials.authorize(http)
40-
return discovery.build('language', 'v1', http=http,
38+
return discovery.build('language', 'v1',
39+
http=http,
4140
discoveryServiceUrl=DISCOVERY_URL)
4241

4342

0 commit comments

Comments
 (0)
0