Skip to content

vision: move published samples into master#2743

Merged
texasmichelle merged 18 commits into
GoogleCloudPlatform:masterfrom
texasmichelle:generated_live
Jan 28, 2020
Merged

vision: move published samples into master#2743
texasmichelle merged 18 commits into
GoogleCloudPlatform:masterfrom
texasmichelle:generated_live

Conversation

@texasmichelle
Copy link
Copy Markdown
Member

Cherry-picked from tmp-generated-samples branch.

Add samples and tests.
Add missing attribute mime_type.
Fix encoding issue in py2.

@texasmichelle texasmichelle requested review from a team and nnegrey as code owners January 22, 2020 02:00
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 22, 2020
@texasmichelle
Copy link
Copy Markdown
Member Author

Interesting test failure: Service account HMAC key limit reached

@nnegrey
Copy link
Copy Markdown
Contributor

nnegrey commented Jan 22, 2020

Yea, I got that on one of my PRs from the storage samples.

Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
texasmichelle and others added 4 commits January 22, 2020 20:35
Remove autogenerated warnings
Remove coding: utf-8 line
Remove argument encoding checks
Update copyright to 2020
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images.py Outdated
Comment thread vision/cloud-client/detect/vision_async_batch_annotate_images_test.py Outdated
Comment thread vision/cloud-client/detect/vision_batch_annotate_files.py Outdated
@kurtisvg
Copy link
Copy Markdown
Contributor

In the future, you can use the "Request Review" button to whoever is assigned to let them know you are ready for review. This will ensure it gets past my filters :)

texasmichelle and others added 3 commits January 25, 2020 00:38
Remove unnecessary statics, variables, and imports
Blacken with l=88
Verified that there are no published links pointing to these region tags:
vision_async_batch_annotate_images_core
vision_batch_annotate_files_core
vision_batch_annotate_files_gcs_core
@texasmichelle
Copy link
Copy Markdown
Member Author

That failure looks unrelated to these changes. Is there a command to re-run tests?

@nnegrey nnegrey added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2020
@kurtisvg
Copy link
Copy Markdown
Contributor

That failure looks unrelated to these changes. Is there a command to re-run tests?

You can apply the kokoro:run or kokoro:force-run to trigger new builds. (as Noah did here)

@texasmichelle
Copy link
Copy Markdown
Member Author

Word on the street is that kokoro:run often doesn't work.

Is there anything outstanding? I think this is ready for review.

Comment thread vision/cloud-client/detect/vision_batch_annotate_files.py Outdated
Replace concrete file path with "path/to/your/document.pdf".
Comment thread vision/cloud-client/detect/vision_batch_annotate_files_gcs.py
@texasmichelle texasmichelle merged commit 1425a54 into GoogleCloudPlatform:master Jan 28, 2020
@texasmichelle texasmichelle deleted the generated_live branch January 28, 2020 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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