8000 chore: upgrade gapic-generator-python to 0.46.3 (#159) · googleapis/python-automl@bfece77 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit bfece77

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#159)
PiperOrigin-RevId: 373649163 Source-Link: googleapis/googleapis@7e1b14e Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3 fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py
1 parent e000109 commit bfece77

File tree

100 files changed

+3562
-3470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+3562
-3470
lines changed

docs/automl_v1/auto_ml.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ AutoMl
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.automl_v1.services.auto_ml.pagers
109
:members:
1110
:inherited-members:

docs/automl_v1beta1/auto_ml.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ AutoMl
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.automl_v1beta1.services.auto_ml.pagers
109
:members:
1110
:inherited-members:

google/cloud/automl/__init__.py

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,14 +14,15 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.automl_v1.services.auto_ml.async_client import AutoMlAsyncClient
1917
from google.cloud.automl_v1.services.auto_ml.client import AutoMlClient
20-
from google.cloud.automl_v1.services.prediction_service.async_client import (
21-
PredictionServiceAsyncClient,
22-
)
18+
from google.cloud.automl_v1.services.auto_ml.async_client import AutoMlAsyncClient
2319
from google.cloud.automl_v1.services.prediction_service.client import (
2420
PredictionServiceClient,
2521
)
22+
from google.cloud.automl_v1.services.prediction_service.async_client import (
23+
PredictionServiceAsyncClient,
24+
)
25+
2626
from google.cloud.automl_v1.types.annotation_payload import AnnotationPayload
2727
from google.cloud.automl_v1.types.annotation_spec import AnnotationSpec
2828
from google.cloud.automl_v1.types.classification import ClassificationAnnotation
@@ -111,90 +111,90 @@
111111
from google.cloud.automl_v1.types.translation import TranslationModelMetadata
112112

113113
__all__ = (
114+
"AutoMlClient",
115+
"AutoMlAsyncClient",
116+
"PredictionServiceClient",
117+
"PredictionServiceAsyncClient",
114118
"AnnotationPayload",
115119
"AnnotationSpec",
116-
"AutoMlAsyncClient",
117-
"AutoMlClient",
118-
"BatchPredictInputConfig",
119-
"BatchPredictOperationMetadata",
120-
"BatchPredictOutputConfig",
121-
"BatchPredictRequest",
122-
"BatchPredictResult",
123-
"BoundingBoxMetricsEntry",
124-
"BoundingPoly",
125120
"ClassificationAnnotation",
126121
"ClassificationEvaluationMetrics",
127122
"ClassificationType",
123+
"Document",
124+
"DocumentDimensions",
125+
"ExamplePayload",
126+
"Image",
127+
"TextSnippet",
128+
"Dataset",
129+
"BoundingBoxMetricsEntry",
130+
"ImageObjectDetectionAnnotation",
131+
"ImageObjectDetectionEvaluationMetrics",
132+
"BoundingPoly",
133+
"NormalizedVertex",
134+
"ImageClassificationDatasetMetadata",
135+
"ImageClassificationModelDeploymentMetadata",
136+
"ImageClassificationModelMetadata",
137+
"ImageObjectDetectionDatasetMetadata",
138+
"ImageObjectDetectionModelDeploymentMetadata",
139+
"ImageObjectDetectionModelMetadata",
140+
"BatchPredictInputConfig",
141+
"BatchPredictOutputConfig",
142+
"DocumentInputConfig",
143+
"GcsDestination",
144+
"GcsSource",
145+
"InputConfig",
146+
"ModelExportOutputConfig",
147+
"OutputConfig",
148+
"Model",
149+
"ModelEvaluation",
150+
"BatchPredictOperationMetadata",
128151
"CreateDatasetOperationMetadata",
129-
"CreateDatasetRequest",
130152
"CreateModelOperationMetadata",
153+
"DeleteOperationMetadata",
154+
"DeployModelOperationMetadata",
155+
"ExportDataOperationMetadata",
156+
"ExportModelOperationMetadata",
157+
"ImportDataOperationMetadata",
158+
"OperationMetadata",
159+
"UndeployModelOperationMetadata",
160+
"BatchPredictRequest",
161+
"BatchPredictResult",
162+
"PredictRequest",
163+
"PredictResponse",
164+
"CreateDatasetRequest",
131165
"CreateModelRequest",
132-
"Dataset",
133166
"DeleteDatasetRequest",
134167
"DeleteModelRequest",
135-
"DeleteOperationMetadata",
136-
"DeployModelOperationMetadata",
137168
"DeployModelRequest",
138-
"Document",
139-
"DocumentDimensions",
140-
"DocumentInputConfig",
141-
"ExamplePayload",
142-
"ExportDataOperationMetadata",
143169
"ExportDataRequest",
144-
"ExportModelOperationMetadata",
145170
"ExportModelRequest",
146-
"GcsDestination",
147-
"GcsSource",
148171
"GetAnnotationSpecRequest",
149172
"GetDatasetRequest",
150173
"GetModelEvaluationRequest",
151174
"GetModelRequest",
152-
"Image",
153-
"ImageClassificationDatasetMetadata",
154-
"ImageClassificationModelDeploymentMetadata",
155-
"ImageClassificationModelMetadata",
156-
"ImageObjectDetectionAnnotation",
157-
"ImageObjectDetectionDatasetMetadata",
158-
"ImageObjectDetectionEvaluationMetrics",
159-
"ImageObjectDetectionModelDeploymentMetadata",
160-
"ImageObjectDetectionModelMetadata",
161-
"ImportDataOperationMetadata",
162175
"ImportDataRequest",
163-
"InputConfig",
164176
"ListDatasetsRequest",
165177
"ListDatasetsResponse",
166178
"ListModelEvaluationsRequest",
167179
"ListModelEvaluationsResponse",
168180
"ListModelsRequest",
169181
"ListModelsResponse",
170-
"Model",
171-
"ModelEvaluation",
172-
"ModelExportOutputConfig",
173-
"NormalizedVertex",
174-
"OperationMetadata",
175-
"OutputConfig",
176-
"PredictRequest",
177-
"PredictResponse",
178-
"PredictionServiceAsyncClient",
179-
"PredictionServiceClient",
182+
"UndeployModelRequest",
183+
"UpdateDatasetRequest",
184+
"UpdateModelRequest",
180185
"TextClassificationDatasetMetadata",
181186
"TextClassificationModelMetadata",
182-
"TextExtractionAnnotation",
183187
"TextExtractionDatasetMetadata",
184-
"TextExtractionEvaluationMetrics",
185188
"TextExtractionModelMetadata",
189+
"TextSentimentDatasetMetadata",
190+
"TextSentimentModelMetadata",
191+
"TextExtractionAnnotation",
192+
"TextExtractionEvaluationMetrics",
186193
"TextSegment",
187194
"TextSentimentAnnotation",
188-
"TextSentimentDatasetMetadata",
189195
"TextSentimentEvaluationMetrics",
190-
"TextSentimentModelMetadata",
191-
"TextSnippet",
192196
"TranslationAnnotation",
193197
"TranslationDatasetMetadata",
194198
"TranslationEvaluationMetrics",
195199
"TranslationModelMetadata",
196-
"UndeployModelOperationMetadata",
197-
"UndeployModelRequest",
198-
"UpdateDatasetRequest",
199-
"UpdateModelRequest",
200200
)

google/cloud/automl_v1/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,7 +15,10 @@
1615
#
1716

1817
from .services.auto_ml import AutoMlClient
18+
from .services.auto_ml import AutoMlAsyncClient
1919
from .services.prediction_service import PredictionServiceClient
20+
from .services.prediction_service import PredictionServiceAsyncClient
21+
2022
from .types.annotation_payload import AnnotationPayload
2123
from .types.annotation_spec import AnnotationSpec
2224
from .types.classification import ClassificationAnnotation
@@ -100,10 +102,12 @@
100102
from .types.translation import TranslationEvaluationMetrics
101103
from .types.translation import TranslationModelMetadata
102104

103-
104105
__all__ = (
106+
"AutoMlAsyncClient",
107+
"PredictionServiceAsyncClient",
105108
"AnnotationPayload",
106109
"AnnotationSpec",
110+
"AutoMlClient",
107111
"BatchPredictInputConfig",
108112
"BatchPredictOperationMetadata",
109113
"BatchPredictOutputConfig",
@@ -185,5 +189,4 @@
185189
"UndeployModelRequest",
186190
"UpdateDatasetRequest",
187191
"UpdateModelRequest",
188-
"AutoMlClient",
189192
)

0 commit comments

Comments
 (0)
0