| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@dhermes Would you please look over setup.py and speech/setup.py? (Merge conflicts.) |
Sorry, something went wrong.
|
|
||
| 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`. |
| ... speech_contexts=hints, | ||
| >>> from google.cloud import speech | ||
| >>> client = speech.SpeechClient() | ||
| >>> result = client.recognize( |
| ... max_alternatives=1, | ||
| ... profanity_filter=True, | ||
| >>> client = speech.SpeechClient() | ||
| >>> result = client.recognize( |
| # 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', '.') |
| @@ -0,0 +1,86 @@ | |||
| # Copyright 2016 Google Inc. All rights reserved. | |||
| @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): |
| mocked_channel.assert_called_once_with( | ||
| mock_cnxn.credentials, DEFAULT_USER_AGENT, | ||
| mocked_cls.SERVICE_ADDRESS) | ||
| 'speech.googleapis.com') |
| from google.auth.credentials import Credentials | ||
|
|
||
| from google.cloud.speech_v1 import SpeechClient | ||
| from google.cloud.speech_v1 import types |
| from google.cloud.speech_v1 import types | ||
|
|
||
|
|
||
| class HelperTests(unittest.TestCase): |
|
|
||
|
|
||
| class HelperTests(unittest.TestCase): | ||
| def setUp(self): |
…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 cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate. |
Sorry, something went wrong.
$ git log speech-0.26.0..speech-0.27.0 --pretty=%H -- speech/ 401bf4018ae8eaf4fabc77e4aac30564e9289aab da3a7bbe8c7770540c2149fabfc6f74db89f7ce4 bc7b0fdb9fd99b2c86de9830a25cfaaa295b1c45 2a4511ca8a9a4b0569c583a7c4ca6ba0aaf06545 b9cb6d17236528ddce982c3e802af3221de80880 39feb3e23d451963ca31b383d8b395afcf7ab817 6ab3e0127a1edf8b1f9f1603f3c1342473563ea7 These correspond to
|
Sorry, something went wrong.
* 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.
| Back | FazBrowse Home | New Git URL |
This is #3483, but using master as the base.
The previous PR only included manual code to ease review.