Uh oh!
There was an error while loading. Please reload this page.
Speech GAPIC to master - #3607
Conversation
lukesneeringer
commented
Jul 14, 2017
@dhermes Would you please look over |
| Assuming your environment is set up as described in that document, | ||
| create an instance of :class:`~google.cloud.speech.client.Client`. | ||
| create an instance of :class:`~.google.cloud.speech.SpeechClient`. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| ... speech_contexts=hints, | ||
| >>> from google.cloud import speech | ||
| >>> client = speech.SpeechClient() | ||
| >>> result = client.recognize( |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| ... max_alternatives=1, | ||
| ... profanity_filter=True, | ||
| >>> client = speech.SpeechClient() | ||
| >>> result = client.recognize( |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| # Install Sphinx and also all of the google-cloud-* packages. | ||
| session.chdir(os.path.realpath(os.path.dirname(__file__))) | ||
| session.install('Sphinx >= 1.6.2', 'sphinx_rtd_theme') | ||
| session.install('-e', '.') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,86 @@ | |||
| # Copyright 2016 Google Inc. All rights reserved. | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| @mock.patch.object(_helpers, 'make_secure_stub', | ||
| return_value=mock.sentinel.stub) | ||
| def test_constructor(self, mocked_stub, mocked_cls, mocked_channel): | ||
| def test_constructor(self, mocked_stub, mocked_init, mocked_channel): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| mocked_channel.assert_called_once_with( | ||
| mock_cnxn.credentials, DEFAULT_USER_AGENT, | ||
| mocked_cls.SERVICE_ADDRESS) | ||
| 'speech.googleapis.com') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| from google.auth.credentials import Credentials | ||
| from google.cloud.speech_v1 import SpeechClient | ||
| from google.cloud.speech_v1 import types |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| from google.cloud.speech_v1 import types | ||
| class HelperTests(unittest.TestCase): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| class HelperTests(unittest.TestCase): | ||
| def setUp(self): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…google-cloud-python into speech-gapic-vendor
googlebot
commented
Jul 14, 2017
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
dhermes
commented
Jul 14, 2017
These correspond to
|
* Vendor the GAPIC for Speech. * Speech Partial Veneer (googleapis#3483) * Update to docs based on @dhermes catch. * Fix incorrect variable. * Fix the docs. * Style fixes to unit tests. * More PR review from me.
* Vendor the GAPIC for Speech. * Speech Partial Veneer (googleapis#3483) * Update to docs based on @dhermes catch. * Fix incorrect variable. * Fix the docs. * Style fixes to unit tests. * More PR review from me.
* Vendor the GAPIC for Speech. * Speech Partial Veneer (googleapis#3483) * Update to docs based on @dhermes catch. * Fix incorrect variable. * Fix the docs. * Style fixes to unit tests. * More PR review from me.
This is #3483, but using master as the base.
The previous PR only included manual code to ease review.