-
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
for streaming sample should have "stream=" param #3074
Conversation
Sample class can take in content, source_uri or stream, should be stream here. ``` :type content: bytes :param content: (Optional) Bytes containing audio data. :type stream: file :param stream: (Optional) File like object to stream. ``` the type is deduced using: ```sources = [content is not None, source_uri is not None, stream is not None]```
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it!
|
I signed it! |
CLAs look good, thanks! |
LGTM. @daspecster LGTY? |
@dhermes, @daspecster my pleasure! |
for streaming sample should have "stream=" param
…oudPlatform/python-docs-samples#3074) Remove Natural Language samples that are no longer included in product documentation. The samples used for documentation are now located in https://github.com/googleapis/python-language/tree/master/samples/v1 and thus have replaced the samples in this repo.
Sample class can take in content, source_uri or stream, should be stream here.
the type is deduced using:
sources = [content is not None, source_uri is not None, stream is not None]