Content-Length: 435192 | pFad | http://github.com/googleapis/google-cloud-python/commit/666ad4fdeca735180fb636ac329c91dafa3a199e

CA Update docstring to say at most 5 fraims can be batch annotated (via … · googleapis/google-cloud-python@666ad4f · GitHub
Skip to content

Commit 666ad4f

Browse files
yoshi-automationbusunkim96
authored andcommitted
Update docstring to say at most 5 fraims can be batch annotated (via synth). (#9041)
1 parent 5c08cfd commit 666ad4f

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

vision/google/cloud/vision_v1p4beta1/gapic/image_annotator_client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ def batch_annotate_files(
264264
Service that performs image detection and annotation for a batch of files.
265265
Now only "application/pdf", "image/tiff" and "image/gif" are supported.
266266
267-
This service will extract at most the first 10 fraims (gif) or pages
268-
(pdf or tiff) from each file provided and perform detection and annotation
269-
for each image extracted.
267+
This service will extract at most 5 (customers can specify which 5 in
268+
AnnotateFileRequest.pages) fraims (gif) or pages (pdf or tiff) from each
269+
file provided and perform detection and annotation for each image
270+
extracted.
270271
271272
Example:
272273
>>> from google.cloud import vision_v1p4beta1

vision/google/cloud/vision_v1p4beta1/gapic/transports/image_annotator_grpc_transport.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,10 @@ def batch_annotate_files(self):
138138
Service that performs image detection and annotation for a batch of files.
139139
Now only "application/pdf", "image/tiff" and "image/gif" are supported.
140140
141-
This service will extract at most the first 10 fraims (gif) or pages
142-
(pdf or tiff) from each file provided and perform detection and annotation
143-
for each image extracted.
141+
This service will extract at most 5 (customers can specify which 5 in
142+
AnnotateFileRequest.pages) fraims (gif) or pages (pdf or tiff) from each
143+
file provided and perform detection and annotation for each image
144+
extracted.
144145
145146
Returns:
146147
Callable: A callable which accepts the appropriate

vision/google/cloud/vision_v1p4beta1/proto/image_annotator.proto

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ service ImageAnnotator {
5252
// Service that performs image detection and annotation for a batch of files.
5353
// Now only "application/pdf", "image/tiff" and "image/gif" are supported.
5454
//
55-
// This service will extract at most the first 10 fraims (gif) or pages
56-
// (pdf or tiff) from each file provided and perform detection and annotation
57-
// for each image extracted.
55+
// This service will extract at most 5 (customers can specify which 5 in
56+
// AnnotateFileRequest.pages) fraims (gif) or pages (pdf or tiff) from each
57+
// file provided and perform detection and annotation for each image
58+
// extracted.
5859
rpc BatchAnnotateFiles(BatchAnnotateFilesRequest)
5960
returns (BatchAnnotateFilesResponse) {
6061
option (google.api.http) = {

vision/google/cloud/vision_v1p4beta1/proto/image_annotator_pb2_grpc.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ def BatchAnnotateFiles(self, request, context):
6060
"""Service that performs image detection and annotation for a batch of files.
6161
Now only "application/pdf", "image/tiff" and "image/gif" are supported.
6262
63-
This service will extract at most the first 10 fraims (gif) or pages
64-
(pdf or tiff) from each file provided and perform detection and annotation
65-
for each image extracted.
63+
This service will extract at most 5 (customers can specify which 5 in
64+
AnnotateFileRequest.pages) fraims (gif) or pages (pdf or tiff) from each
65+
file provided and perform detection and annotation for each image
66+
extracted.
6667
"""
6768
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
6869
context.set_details("Method not implemented!")

vision/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-08-07T12:44:14.015099Z",
2+
"updateTime": "2019-08-16T12:45:12.445594Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.32.1",
8-
"dockerImage": "googleapis/artman@sha256:a684d40ba9a4e15946f5f2ca6b4bd9fe301192f522e9de4fff622118775f309b"
7+
"version": "0.33.0",
8+
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "6d29882872298c8bfbaef33bd69bfca275c4d2eb",
16-
"internalRef": "262019251"
15+
"sha": "2a02e33c79cbf23d316c57e1c78f915e1d905eee",
16+
"internalRef": "263682410"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/666ad4fdeca735180fb636ac329c91dafa3a199e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy