Skip to content

Commit 7ec4c47

Browse files
docs: Minor formatting (#506)
* docs: Minor formatting chore: Update gapic-generator-python to v1.11.5 build: Update rules_python to 0.24.0 PiperOrigin-RevId: 563436317 Source-Link: googleapis/googleapis@42fd37b Source-Link: googleapis/googleapis-gen@280264c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 9314817 commit 7ec4c47

File tree

9 files changed

+16
-12
lines changed

9 files changed

+16
-12
lines changed

packages/google-cloud-automl/google/cloud/automl_v1/types/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class Dataset(proto.Message):
105105
underscores and dashes. International characters
106106
are allowed. Label values are optional. Label
107107
keys must start with a letter.
108+
108109
See https://goo.gl/xmQnxf for more information
109110
on and examples of labels.
110111
"""

packages/google-cloud-automl/google/cloud/automl_v1/types/io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,7 @@ class DocumentInputConfig(proto.Message):
11081108
The Google Cloud Storage location of the
11091109
document file. Only a single path should be
11101110
given.
1111+
11111112
Max supported size: 512MB.
11121113
11131114
Supported extensions: .PDF.

packages/google-cloud-automl/google/cloud/automl_v1/types/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class Model(proto.Message):
104104
underscores and dashes. International characters
105105
are allowed. Label values are optional. Label
106106
keys must start with a letter.
107+
107108
See https://goo.gl/xmQnxf for more information
108109
on and examples of labels.
109110
"""

packages/google-cloud-automl/google/cloud/automl_v1beta1/types/operations.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ class ExportDataOutputInfo(proto.Message):
232232
This field is a member of `oneof`_ ``output_location``.
233233
bigquery_output_dataset (str):
234234
The path of the BigQuery dataset created, in
235-
bq://projectId.bqDatasetId
236-
format, into which the exported data is written.
235+
bq://projectId.bqDatasetId format, into which
236+
the exported data is written.
237237
238238
This field is a member of `oneof`_ ``output_location``.
239239
"""
@@ -289,9 +289,8 @@ class BatchPredictOutputInfo(proto.Message):
289289
This field is a member of `oneof`_ ``output_location``.
290290
bigquery_output_dataset (str):
291291
The path of the BigQuery dataset created, in
292-
bq://projectId.bqDatasetId
293-
format, into which the prediction output is
294-
written.
292+
bq://projectId.bqDatasetId format, into which
293+
the prediction output is written.
295294
296295
This field is a member of `oneof`_ ``output_location``.
297296
"""
@@ -370,9 +369,9 @@ class ExportEvaluatedExamplesOutputInfo(proto.Message):
370369
Attributes:
371370
bigquery_output_dataset (str):
372371
The path of the BigQuery dataset created, in
373-
bq://projectId.bqDatasetId
374-
format, into which the output of export
375-
evaluated examples is written.
372+
bq://projectId.bqDatasetId format, into which
373+
the output of export evaluated examples is
374+
written.
376375
"""
377376

378377
bigquery_output_dataset: str = proto.Field(

packages/google-cloud-automl/google/cloud/automl_v1beta1/types/tables.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,15 @@ class TablesModelMetadata(proto.Message):
227227
Required. The train budget of creating this
228228
model, expressed in milli node hours i.e. 1,000
229229
value in this field means 1 node hour.
230+
230231
The training cost of the model will not exceed
231232
this budget. The final cost will be attempted to
232233
be close to the budget, though may end up being
233234
(even) noticeably smaller - at the backend's
234235
discretion. This especially may happen when
235236
further model training ceases to provide any
236237
improvements.
238+
237239
If the budget is set to a value known to be
238240
insufficient to train a model for the given
239241
dataset, the training won't be attempted and

packages/google-cloud-automl/tests/unit/gapic/automl_v1/test_auto_ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
from google.cloud.automl_v1.types import text_extraction
6969
from google.cloud.automl_v1.types import text_sentiment
7070
from google.cloud.automl_v1.types import translation
71-
from google.longrunning import operations_pb2
71+
from google.longrunning import operations_pb2 # type: ignore
7272
from google.oauth2 import service_account
7373
from google.protobuf import empty_pb2 # type: ignore
7474
from google.protobuf import field_mask_pb2 # type: ignore

packages/google-cloud-automl/tests/unit/gapic/automl_v1/test_prediction_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
from google.cloud.automl_v1.types import operations
6161
from google.cloud.automl_v1.types import prediction_service
6262
from google.cloud.automl_v1.types import text_segment
63-
from google.longrunning import operations_pb2
63+
from google.longrunning import operations_pb2 # type: ignore
6464
from google.oauth2 import service_account
6565
import google.auth
6666

packages/google-cloud-automl/tests/unit/gapic/automl_v1beta1/test_auto_ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
from google.cloud.automl_v1beta1.types import text_sentiment
7878
from google.cloud.automl_v1beta1.types import translation
7979
from google.cloud.automl_v1beta1.types import video
80-
from google.longrunning import operations_pb2
80+
from google.longrunning import operations_pb2 # type: ignore
8181
from google.oauth2 import service_account
8282
from google.protobuf import empty_pb2 # type: ignore
8383
from google.protobuf import field_mask_pb2 # type: ignore

packages/google-cloud-automl/tests/unit/gapic/automl_v1beta1/test_prediction_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
from google.cloud.automl_v1beta1.types import operations
6363
from google.cloud.automl_v1beta1.types import prediction_service
6464
from google.cloud.automl_v1beta1.types import text_segment
65-
from google.longrunning import operations_pb2
65+
from google.longrunning import operations_pb2 # type: ignore
6666
from google.oauth2 import service_account
6767
from google.protobuf import struct_pb2 # type: ignore
6868
import google.auth

0 commit comments

Comments
 (0)