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 — Adds quickstart by gguuss · Pull Request #964 · GoogleCloudPlatform/python-docs-samples

Conversation

@gguuss

@gguuss gguuss commented May 25, 2017

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

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

All reactions
@gguuss
Adds quickstart
d772359
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 25, 2017
theacodes
theacodes suggested changes May 25, 2017
View reviewed changes
Comment thread video/cloud-client/quickstart/README.rst.in Outdated
samples:
- name: quickstart
file: quickstart.py
show_help: True

@theacodes theacodes May 25, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Typically we don't do this for quickstarts because of side effects.

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss May 25, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread video/cloud-client/quickstart/quickstart.py Outdated
python quickstart.py
"""

# [START videointelligence_quickstart]

@theacodes theacodes May 25, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Imports go inside the run_quickstart function for quickstarts: https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/storage/cloud-client/quickstart.py

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread video/cloud-client/quickstart/quickstart.py Outdated
# first result is retrieved because a single video was processed
results = operation.result().annotation_results[0]

for i, label in enumerate(results.label_annotations):

@theacodes theacodes May 25, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

don't use enumerate if you don't use the i.

Sorry, something went wrong.

Uh oh!

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

All reactions
gguuss added 2 commits May 25, 2017 14:35
@gguuss
Address review comments
06bfe26
@gguuss
Fixes docs
6418d65
theacodes
theacodes approved these changes May 25, 2017
View reviewed changes
@theacodes
theacodes merged commit 2659c6b into master May 25, 2017
@theacodes
theacodes deleted the video_quickstart branch May 25, 2017 21:52
busunkim96 pushed a commit to busunkim96/python-videointelligence that referenced this pull request May 20, 2020
@gguuss Jon Wayne Parrott
Adds quickstart [(#964)](GoogleCloudPlatform/python-docs-samples#964)
98fc9e2
danoscarmike pushed a commit to googleapis/python-videointelligence that referenced this pull request Nov 16, 2020
@gguuss @danoscarmike
Adds quickstart [(#964)](GoogleCloudPlatform/python-docs-samples#964)
bbcb3a8
dizcology pushed a commit that referenced this pull request Sep 11, 2023
@gguuss @danoscarmike
Adds quickstart [(#964)](#964)
742ddba
@dizcology dizcology mentioned this pull request Sep 11, 2023
migrate code from googleapis/python-videointelligence #10605
Merged
9 tasks
leahecole pushed a commit that referenced this pull request Sep 15, 2023
@gguuss @leahecole
Adds quickstart [(#964)](#964)
a8e45c3
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Sep 22, 2023
@gguuss @danoscarmike
Adds quickstart [(#964)](GoogleCloudPlatform/python-docs-samples#964)
4edcc05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@theacodes theacodes theacodes approved these changes
Reviewers whose approvals may not affect merge requirements

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.

3 participants

@gguuss @theacodes @googlebot
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.