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

docs: Fix formatting of request arg in docstring #481

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions google/cloud/automl_v1/services/auto_ml/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
24 changes: 0 additions & 24 deletions google/cloud/automl_v1beta1/services/auto_ml/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Loading