GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — for streaming sample should have "stream=" param by yogeshg · Pull Request #3074 · googleapis/google-cloud-python

Conversation

@yogeshg

@yogeshg yogeshg commented Feb 26, 2017

Copy link
Copy Markdown
Contributor

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]

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yogeshg
for streaming sample should have "stream=" param
667f0ad
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]```
@googlebot

googlebot commented Feb 26, 2017

Copy link
Copy Markdown

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!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Feb 26, 2017
@yogeshg

yogeshg commented Feb 26, 2017

Copy link
Copy Markdown
Contributor Author

I signed it!

I signed it!
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yogeshg yogeshg closed this Feb 26, 2017
@yogeshg yogeshg reopened this Feb 26, 2017
@yogeshg yogeshg mentioned this pull request Feb 26, 2017
adding example for streaming audio GoogleCloudPlatform/python-docs-samples#826
Closed
@yogeshg

yogeshg commented Feb 26, 2017

Copy link
Copy Markdown
Contributor Author

I signed it!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot

googlebot commented Feb 26, 2017

Copy link
Copy Markdown

CLAs look good, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot googlebot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Feb 26, 2017
@dhermes

dhermes commented Feb 26, 2017

Copy link
Copy Markdown
Contributor

LGTM. @daspecster LGTY?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@daspecster

daspecster commented Feb 27, 2017

Copy link
Copy Markdown
Contributor

@dhermes yup!
Thanks @yogeshg!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@daspecster
daspecster merged commit f60da8b into googleapis:master Feb 27, 2017
@yogeshg

yogeshg commented Feb 28, 2017

Copy link
Copy Markdown
Contributor Author

@dhermes, @daspecster my pleasure!
I also added an example for this use case in the samples repo. I was not sure how to write the test script for it though. You can help/advise me here:
GoogleCloudPlatform/python-docs-samples#826

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@daspecster
Merge pull request googleapis#3074 from yogeshg/patch-1
e9edb42
for streaming sample should have "stream=" param
parthea pushed a commit that referenced this pull request Jul 6, 2023
@jsimonweb @busunkim96
Remove Natural Language samples not included docs. [(#3074)](GoogleCl…
db261c2
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@yogeshg @googlebot @dhermes @daspecster
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.