-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
Speech GAPIC to master #3607
Speech GAPIC to master #3607
Conversation
@dhermes Would you please look over |
docs/speech/index.rst
Outdated
means to configure your application. Each instance holds | ||
an authenticated connection to the Cloud Speech Service. | ||
|
||
For an overview of authentication in ``google-cloud-python``, see | ||
:doc:`/core/auth`. | ||
|
||
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.
docs/speech/index.rst
Outdated
... 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.
docs/speech/index.rst
Outdated
... 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.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
nox.py
Outdated
@@ -30,13 +30,13 @@ def docs(session): | |||
# 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.
@@ -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.
speech/tests/unit/test__gax.py
Outdated
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.
channel=mock.sentinel.channel, lib_name='gccl', | ||
lib_version=__version__) | ||
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.
speech/tests/unit/test_helpers.py
Outdated
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.
speech/tests/unit/test_helpers.py
Outdated
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.
speech/tests/unit/test_helpers.py
Outdated
|
||
|
||
class HelperTests(unittest.TestCase): | ||
def setUp(self): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
…google-cloud-python into speech-gapic-vendor
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 |
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.