We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When upgrading google-api-python-client and oauth2client, there is this warning from the GCP cloud:
google-api-python-client
oauth2client
"WARNING:googleapiclient.discovery_cache:file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth"
It would be great to be able to specify if the build call in this line should use the cache or no:
build
budou/budou/nlapisegmenter.py
Line 141 in ddfe8d2
I was thinking something like this:
class NLAPISegmenter(Segmenter): ... def __init__(self, cache_filename, credentials_path, use_entity, use_cache, cache_discovery): ... self._authenticate(cache_discovery) ... def _authenticate(self, cache_discovery): ... service = googleapiclient.discovery.build( 'language', 'v1beta2', http=authed_http, cache_discovery=cache_discovery)
The text was updated successfully, but these errors were encountered:
Hi Juan, Thank you for flagging this issue! Your suggested change looks good to me. Do you want to make a PR for this change?
Sorry, something went wrong.
Hi Shuhei,
Sure! Here it is: #96
Closing this issue since the PR is merged.
No branches or pull requests
When upgrading
google-api-python-client
andoauth2client
, there is this warning from the GCP cloud:"WARNING:googleapiclient.discovery_cache:file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth"
It would be great to be able to specify if the
build
call in this line should use the cache or no:budou/budou/nlapisegmenter.py
Line 141 in ddfe8d2
I was thinking something like this:
The text was updated successfully, but these errors were encountered: