diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa3..b8edda51 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178ce..ec867d9f 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c129..66a2172a 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba diff --git a/.release-please-manifest.json b/.release-please-manifest.json index afe4b0fb..c12a5910 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - ".": "2.11.0" + ".": "2.11.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c2ba2a86..59988ebe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-automl/#history +## [2.11.1](https://github.com/googleapis/python-automl/compare/v2.11.0...v2.11.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#481](https://github.com/googleapis/python-automl/issues/481)) ([6e78170](https://github.com/googleapis/python-automl/commit/6e78170a97f44583522d9fe0aabd2cb1ea452f7b)) + ## [2.11.0](https://github.com/googleapis/python-automl/compare/v2.10.1...v2.11.0) (2023-02-28) diff --git a/google/cloud/automl/gapic_version.py b/google/cloud/automl/gapic_version.py index bb74f811..9ac1d4a8 100644 --- a/google/cloud/automl/gapic_version.py +++ b/google/cloud/automl/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.11.0" # {x-release-please-version} +__version__ = "2.11.1" # {x-release-please-version} diff --git a/google/cloud/automl_v1/gapic_version.py b/google/cloud/automl_v1/gapic_version.py index bb74f811..9ac1d4a8 100644 --- a/google/cloud/automl_v1/gapic_version.py +++ b/google/cloud/automl_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.11.0" # {x-release-please-version} +__version__ = "2.11.1" # {x-release-please-version} diff --git a/google/cloud/automl_v1/services/auto_ml/transports/rest.py b/google/cloud/automl_v1/services/auto_ml/transports/rest.py index 32a0ee5c..5aaed572 100644 --- a/google/cloud/automl_v1/services/auto_ml/transports/rest.py +++ b/google/cloud/automl_v1/services/auto_ml/transports/rest.py @@ -800,7 +800,6 @@ def __call__( request (~.service.CreateDatasetRequest): The request object. Request message for [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -898,7 +897,6 @@ def __call__( request (~.service.CreateModelRequest): The request object. Request message for [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -996,7 +994,6 @@ def __call__( request (~.service.DeleteDatasetRequest): The request object. Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1085,7 +1082,6 @@ def __call__( request (~.service.DeleteModelRequest): The request object. Request message for [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1174,7 +1170,6 @@ def __call__( request (~.service.DeployModelRequest): The request object. Request message for [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1272,7 +1267,6 @@ def __call__( request (~.service.ExportDataRequest): The request object. Request message for [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1372,7 +1366,6 @@ def __call__( [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. Models need to be enabled for exporting, otherwise an error code will be returned. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1470,7 +1463,6 @@ def __call__( request (~.service.GetAnnotationSpecRequest): The request object. Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1560,7 +1552,6 @@ def __call__( request (~.service.GetDatasetRequest): The request object. Request message for [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1652,7 +1643,6 @@ def __call__( request (~.service.GetModelRequest): The request object. Request message for [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1742,7 +1732,6 @@ def __call__( request (~.service.GetModelEvaluationRequest): The request object. Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1832,7 +1821,6 @@ def __call__( request (~.service.ImportDataRequest): The request object. Request message for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1930,7 +1918,6 @@ def __call__( request (~.service.ListDatasetsRequest): The request object. Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2022,7 +2009,6 @@ def __call__( request (~.service.ListModelEvaluationsRequest): The request object. Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2114,7 +2100,6 @@ def __call__( request (~.service.ListModelsRequest): The request object. Request message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2204,7 +2189,6 @@ def __call__( request (~.service.UndeployModelRequest): The request object. Request message for [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2304,7 +2288,6 @@ def __call__( request (~.service.UpdateDatasetRequest): The request object. Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset] - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2407,7 +2390,6 @@ def __call__( request (~.service.UpdateModelRequest): The request object. Request message for [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel] - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/automl_v1/services/prediction_service/transports/rest.py b/google/cloud/automl_v1/services/prediction_service/transports/rest.py index 63ea5d91..afe369e7 100644 --- a/google/cloud/automl_v1/services/prediction_service/transports/rest.py +++ b/google/cloud/automl_v1/services/prediction_service/transports/rest.py @@ -328,7 +328,6 @@ def __call__( request (~.prediction_service.BatchPredictRequest): The request object. Request message for [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -426,7 +425,6 @@ def __call__( request (~.prediction_service.PredictRequest): The request object. Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/automl_v1beta1/gapic_version.py b/google/cloud/automl_v1beta1/gapic_version.py index bb74f811..9ac1d4a8 100644 --- a/google/cloud/automl_v1beta1/gapic_version.py +++ b/google/cloud/automl_v1beta1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "2.11.0" # {x-release-please-version} +__version__ = "2.11.1" # {x-release-please-version} diff --git a/google/cloud/automl_v1beta1/services/auto_ml/transports/rest.py b/google/cloud/automl_v1beta1/services/auto_ml/transports/rest.py index 6d7de69a..b3f3bf40 100644 --- a/google/cloud/automl_v1beta1/services/auto_ml/transports/rest.py +++ b/google/cloud/automl_v1beta1/services/auto_ml/transports/rest.py @@ -987,7 +987,6 @@ def __call__( request (~.service.CreateDatasetRequest): The request object. Request message for [AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1088,7 +1087,6 @@ def __call__( request (~.service.CreateModelRequest): The request object. Request message for [AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1186,7 +1184,6 @@ def __call__( request (~.service.DeleteDatasetRequest): The request object. Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1275,7 +1272,6 @@ def __call__( request (~.service.DeleteModelRequest): The request object. Request message for [AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1364,7 +1360,6 @@ def __call__( request (~.service.DeployModelRequest): The request object. Request message for [AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1462,7 +1457,6 @@ def __call__( request (~.service.ExportDataRequest): The request object. Request message for [AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1560,7 +1554,6 @@ def __call__( request (~.service.ExportEvaluatedExamplesRequest): The request object. Request message for [AutoMl.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1662,7 +1655,6 @@ def __call__( [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]. Models need to be enabled for exporting, otherwise an error code will be returned. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1760,7 +1752,6 @@ def __call__( request (~.service.GetAnnotationSpecRequest): The request object. Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1850,7 +1841,6 @@ def __call__( request (~.service.GetColumnSpecRequest): The request object. Request message for [AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1943,7 +1933,6 @@ def __call__( request (~.service.GetDatasetRequest): The request object. Request message for [AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2035,7 +2024,6 @@ def __call__( request (~.service.GetModelRequest): The request object. Request message for [AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2125,7 +2113,6 @@ def __call__( request (~.service.GetModelEvaluationRequest): The request object. Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2215,7 +2202,6 @@ def __call__( request (~.service.GetTableSpecRequest): The request object. Request message for [AutoMl.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2314,7 +2300,6 @@ def __call__( request (~.service.ImportDataRequest): The request object. Request message for [AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2412,7 +2397,6 @@ def __call__( request (~.service.ListColumnSpecsRequest): The request object. Request message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2504,7 +2488,6 @@ def __call__( request (~.service.ListDatasetsRequest): The request object. Request message for [AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2594,7 +2577,6 @@ def __call__( request (~.service.ListModelEvaluationsRequest): The request object. Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2686,7 +2668,6 @@ def __call__( request (~.service.ListModelsRequest): The request object. Request message for [AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2776,7 +2757,6 @@ def __call__( request (~.service.ListTableSpecsRequest): The request object. Request message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2868,7 +2848,6 @@ def __call__( request (~.service.UndeployModelRequest): The request object. Request message for [AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2966,7 +2945,6 @@ def __call__( request (~.service.UpdateColumnSpecRequest): The request object. Request message for [AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec] - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3070,7 +3048,6 @@ def __call__( request (~.service.UpdateDatasetRequest): The request object. Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1beta1.AutoMl.UpdateDataset] - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3171,7 +3148,6 @@ def __call__( request (~.service.UpdateTableSpecRequest): The request object. Request message for [AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec] - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/automl_v1beta1/services/prediction_service/transports/rest.py b/google/cloud/automl_v1beta1/services/prediction_service/transports/rest.py index e02a933d..ba2f4b24 100644 --- a/google/cloud/automl_v1beta1/services/prediction_service/transports/rest.py +++ b/google/cloud/automl_v1beta1/services/prediction_service/transports/rest.py @@ -328,7 +328,6 @@ def __call__( request (~.prediction_service.BatchPredictRequest): The request object. Request message for [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -426,7 +425,6 @@ def __call__( request (~.prediction_service.PredictRequest): The request object. Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json index f71bf41c..65712b11 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-automl", - "version": "2.11.0" + "version": "2.11.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json index ad23a76e..8fb28818 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-automl", - "version": "2.11.0" + "version": "2.11.1" }, "snippets": [ {