Skip to content
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

Add _stream_requests() for managing speech streaming configuration #2644

Merged
merged 2 commits into from
Oct 31, 2016

Conversation

daspecster
Copy link
Contributor

This method creates the configuration request before making content requests and yields them to the caller.

@daspecster daspecster added the api: speech Issues related to the Speech-to-Text API. label Oct 29, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 29, 2016
@daspecster daspecster mentioned this pull request Oct 29, 2016
14 tasks
all_requests = []
for streaming_request in streaming_requests:
self.assertIsInstance(streaming_request, StreamingRecognizeRequest)
all_requests.append(streaming_request)

This comment was marked as spam.


config_request = all_requests[0]
streaming_request = all_requests[1]
self.assertIsInstance(config_request, StreamingRecognizeRequest)

This comment was marked as spam.

@daspecster daspecster force-pushed the speech-streaming-part-3 branch from 39416df to 4b3e9cc Compare October 31, 2016 17:34
@daspecster daspecster merged commit c4ac484 into googleapis:master Oct 31, 2016
@daspecster daspecster deleted the speech-streaming-part-3 branch October 31, 2016 17:43
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…art-3

Add _stream_requests() for managing speech streaming configuration
atulep pushed a commit that referenced this pull request Apr 3, 2023
Add _stream_requests() for managing speech streaming configuration
atulep pushed a commit that referenced this pull request Apr 18, 2023
Add _stream_requests() for managing speech streaming configuration
parthea pushed a commit that referenced this pull request Oct 22, 2023
Add _stream_requests() for managing speech streaming configuration
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