Uh oh!
There was an error while loading. Please reload this page.
Initial Vision usage docs for discussion - #1809
Conversation
| .. doctest:: | ||
| >>> images = (('./image.jpg', [vision.FeatureTypes.LABEL_DETECTION, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
theacodes
commented
May 18, 2016
/cc @jerjou |
| >>> annotated_images = [] | ||
| >>> for image, feature_types in images: | ||
| ... annotated_images.append( | ||
| ... vision_client.annotate( |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
jgeewax
commented
May 18, 2016
Can you take a look at our Vision docs for Ruby that do things slightly differently? https://quartzmo.github.io/gcloud-ruby/#/docs/master/gcloud/vision |
daspecster
commented
May 18, 2016
@jgeewax I like their examples! Are you saying to look at their docs as an example for the usage layout or for how their API is defined...or both I suppose? I can condense this down a bit. I wanted to layout the cases here so we could discuss the API surface. |
quartzmo
commented
May 18, 2016
@jgeewax@daspecster I'm working on updating our Vision docs demo with googleapis/google-cloud-ruby#696 and another pending PR, just FYI. |
daspecster
commented
May 18, 2016
One thing that I'm not sure about in However I guess since the charging is based on the feature types that in their example it wouldn't make any difference? analyses=vision.annotatedo |annotate|
annotate.annotateface_image,faces: 10,labels: 10annotate.annotatelandmark_image,landmarks: 10annotate.annotatetext_image,text: trueendIn that case I guess the only part in question is request overhead. I think the batching discussion will get there though. |
quartzmo
commented
May 18, 2016
We have changed our API to accept booleans as well as max results, so when updated, most examples will use this new syntax: annotation=vision.annotateimage,faces: true,labels: true |
daspecster
commented
May 18, 2016
@quartzmo, I like changing the I could take that out here and just make the default |
quartzmo
commented
May 18, 2016
@daspecster The batch example you mention above results in a single API request. Nothing happens until the block execution completes. |
daspecster
commented
May 18, 2016
@quartzmo, I see now. Thanks! |
quartzmo
commented
May 19, 2016
@daspecster We released our Vision support today in case you want to try it. |
daspecster
commented
May 20, 2016
@quartzmo thanks! I'll give it a go this weekend. |
| - In addition to any authentication configuration, you should also set the | ||
| :envvar:`GCLOUD_PROJECT` environment variable for the project you'd like | ||
| to interact with. If you are Google App Engine or Google Compute Engine |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
commented
May 23, 2016
General comment: Though there is only one method provided by the backend API, we can and should have many methods in our API, matching the concepts at the level you provide in each docs subsection. |
daspecster
commented
May 27, 2016
daspecster
commented
May 31, 2016
tseaver
commented
May 31, 2016
LGTM to go forward with the surface as described. |
Closing since we shouldn't have a usage doc with no surface methods available yet. Reopen if we want to chat more about any of this! |
daspecster
commented
Jun 20, 2016
/cc @jgeewax |
* feat: Add trust boundary support for external accounts. * Add trust boundary support to external account authorized users. * Fix lint issues * Implement additional unit tests for external account authorized user. * fix formatting issue * Add a unit test with invalid audiance * add missing unit tests
🤖 I have created a release *beep* *boop* --- ## [2.42.0](googleapis/google-auth-library-python@v2.41.1...v2.42.0) (2025-10-24) ### Features * Add trust boundary support for external accounts. ([#1809](googleapis/google-auth-library-python#1809)) ([36ecb1d](googleapis/google-auth-library-python@36ecb1d)) ### Bug Fixes * Read scopes from ADC json for impersoanted cred ([#1820](googleapis/google-auth-library-python#1820)) ([62c0fc8](googleapis/google-auth-library-python@62c0fc8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* fix: add google-auth as a direct dependency * update constraints * fix(deps): Require `google-api-core>=1.34.1, >=2.11.0` * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com> Co-authored-by: Chalmer Lowe <chalmerlowe@google.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* use mocks.create_bigquery_session * chore: implement compile_readtable
Here is a rough outline of the Vision usage RST.
Originally mentioned here.
The usage here essentially implies direct conversion of the responses to objects.
I think we have room here to add helper methods which could add value.
Let's discuss!