8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12122b5 commit 9a4540cCopy full SHA for 9a4540c
language/api/analyze.py
@@ -24,8 +24,6 @@
24
import httplib2
25
from oauth2client.client import GoogleCredentials
26
27
-# TODO REMOVE - when discovery is public
28
-GOOGLE_API_KEY = "GOOGLE_API_KEY"
29
30
# TODO REMOVE - when discovery is public
31
DISCOVERY_URL = ('https://language.googleapis.com/$discovery/rest?'
@@ -37,7 +35,8 @@ def get_service():
37
35
['https://www.googleapis.com/auth/cloud-platform'])
38
36
http = httplib2.Http()
39
scoped_credentials.authorize(http)
40
- return discovery.build('language', 'v1', http=http,
+ return discovery.build('language', 'v1',
+ http=http,
41
discoveryServiceUrl=DISCOVERY_URL)
42
43
0 commit comments