FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rename and move _JSONSpeechAPI to HTTPSpeechAPI. by daspecster · Pull Request #2979 · googleapis/google-cloud-python · GitHub

Rename and move _JSONSpeechAPI to HTTPSpeechAPI. - #2979

Merged
daspecster merged 2 commits into
googleapis:masterfrom
daspecster:move-speech-http
Feb 6, 2017
Merged

Rename and move _JSONSpeechAPI to HTTPSpeechAPI.#2979
daspecster merged 2 commits into
googleapis:masterfrom
daspecster:move-speech-http

Conversation

daspecster commented Jan 31, 2017
edited
Loading

Copy link
Copy Markdown
Contributor

Moves _JSONSpeechAPI out of client.py and into _http.py.

Also renames _JSONSpeechAPI -> HTTPSpeechAPI.

#2965 needs to be merged before this.

daspecster added hygiene api: speech Issues related to the Speech-to-Text API. labels Jan 31, 2017
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 31, 2017

lukesneeringer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This seems fine, but @dhermes please give it a once-over also.

dhermes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Also LGTM

@@ -0,0 +1,211 @@
# Copyright 2017 Google Inc.

This comment was marked as spam.

This comment was marked as spam.

Comment thread speech/google/cloud/speech/_http.py Outdated
return [Alternative.from_api_repr(alternative)
for alternative in result['alternatives']]
else:
raise ValueError('More than one result or none returned from API.')

This comment was marked as spam.

This comment was marked as spam.

"""
if sample.content is not None:
audio = {'content':
_bytes_to_unicode(b64encode(_to_bytes(sample.content)))}

This comment was marked as spam.

This comment was marked as spam.

daspecster added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 1, 2017
daspecster removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 6, 2017
daspecster merged commit a6bf059 into googleapis:master Feb 6, 2017
daspecster deleted the move-speech-http branch February 6, 2017 17:57
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
* Rename and move _JSONSpeechAPI to HTTPSpeechAPI.
atulep pushed a commit that referenced this pull request Apr 3, 2023
* Rename and move _JSONSpeechAPI to HTTPSpeechAPI.
atulep pushed a commit that referenced this pull request Apr 18, 2023
* Rename and move _JSONSpeechAPI to HTTPSpeechAPI.
parthea pushed a commit that referenced this pull request Oct 22, 2023
* Rename and move _JSONSpeechAPI to HTTPSpeechAPI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL