Skip to content

Commit fe5c702

Browse files
authored
docs: fix spelling (#565)
* fix: miss spelling * fix: reverted spell * fix: reverted to original wordds * fix: revert to prevent lint * fix: change grammar
1 parent d35c466 commit fe5c702

File tree

57 files changed

+68
-68
lines changed

Some content is hidden

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

57 files changed

+68
-68
lines changed

google/cloud/aiplatform/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def labels(self) -> Dict[str, str]:
582582

583583
@property
584584
def gca_resource(self) -> proto.Message:
585-
"""The underlying resource proto represenation."""
585+
"""The underlying resource proto representation."""
586586
return self._gca_resource
587587

588588
def __repr__(self) -> str:
@@ -1039,7 +1039,7 @@ def list(
10391039
@optional_sync()
10401040
def delete(self, sync: bool = True) -> None:
10411041
"""Deletes this Vertex AI resource. WARNING: This deletion is
1042-
permament.
1042+
permanent.
10431043
10441044
Args:
10451045
sync (bool):

google/cloud/aiplatform/datasets/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
Optional location to retrieve dataset from. If not set, location
6969
set in aiplatform.init will be used.
7070
credentials (auth_credentials.Credentials):
71-
Custom credentials to use to retreive this Dataset. Overrides
71+
Custom credentials to use to retrieve this Dataset. Overrides
7272
credentials set in aiplatform.init.
7373
"""
7474

google/cloud/aiplatform/jobs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(
9999
location: Optional[str] = None,
100100
credentials: Optional[auth_credentials.Credentials] = None,
101101
):
102-
"""Retrives Job subclass resource by calling a subclass-specific getter
102+
"""Retrieves Job subclass resource by calling a subclass-specific getter
103103
method.
104104
105105
Args:
@@ -388,12 +388,12 @@ def create(
388388
Required. The format in which instances are given, must be one
389389
of "jsonl", "csv", "bigquery", "tf-record", "tf-record-gzip",
390390
or "file-list". Default is "jsonl" when using `gcs_source`. If a
391-
`bigquery_source` is provided, this is overriden to "bigquery".
391+
`bigquery_source` is provided, this is overridden to "bigquery".
392392
predictions_format (str):
393393
Required. The format in which Vertex AI gives the
394394
predictions, must be one of "jsonl", "csv", or "bigquery".
395395
Default is "jsonl" when using `gcs_destination_prefix`. If a
396-
`bigquery_destination_prefix` is provided, this is overriden to
396+
`bigquery_destination_prefix` is provided, this is overridden to
397397
"bigquery".
398398
gcs_source (Optional[Sequence[str]]):
399399
Google Cloud Storage URI(-s) to your instances to run
@@ -1391,7 +1391,7 @@ def __init__(
13911391
13921392
parameter_spec (Dict[str, hyperparameter_tuning._ParameterSpec]):
13931393
Required. Dictionary representing parameters to optimize. The dictionary key is the metric_id,
1394-
which is passed into your training job as a command line key word arguemnt, and the
1394+
which is passed into your training job as a command line key word argument, and the
13951395
dictionary value is the parameter specification of the metric.
13961396
13971397

google/cloud/aiplatform/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ def _instantiate_prediction_client(
10651065
the prediction client.
10661066
Returns:
10671067
prediction_client (prediction_service_client.PredictionServiceClient):
1068-
Initalized prediction client with optional overrides.
1068+
Initialized prediction client with optional overrides.
10691069
"""
10701070
return initializer.global_config.create_client(
10711071
client_class=utils.PredictionClientWithOverride,
@@ -2017,7 +2017,7 @@ def batch_predict(
20172017
Required. The format in which instances are given, must be one
20182018
of "jsonl", "csv", "bigquery", "tf-record", "tf-record-gzip",
20192019
or "file-list". Default is "jsonl" when using `gcs_source`. If a
2020-
`bigquery_source` is provided, this is overriden to "bigquery".
2020+
`bigquery_source` is provided, this is overridden to "bigquery".
20212021
gcs_destination_prefix: Optional[str] = None
20222022
The Google Cloud Storage location of the directory where the
20232023
output is to be written to. In the given directory a new
@@ -2063,7 +2063,7 @@ def batch_predict(
20632063
Required. The format in which Vertex AI gives the
20642064
predictions, must be one of "jsonl", "csv", or "bigquery".
20652065
Default is "jsonl" when using `gcs_destination_prefix`. If a
2066-
`bigquery_destination_prefix` is provided, this is overriden to
2066+
`bigquery_destination_prefix` is provided, this is overridden to
20672067
"bigquery".
20682068
model_parameters: Optional[Dict] = None
20692069
Optional. The parameters that govern the predictions. The schema of

google/cloud/aiplatform/tensorboard/tensorboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(
6363
Optional. Location to retrieve tensorboard from. If not set, location
6464
set in aiplatform.init will be used.
6565
credentials (auth_credentials.Credentials):
66-
Optional. Custom credentials to use to retreive this Tensorboard. Overrides
66+
Optional. Custom credentials to use to retrieve this Tensorboard. Overrides
6767
credentials set in aiplatform.init.
6868
"""
6969

google/cloud/aiplatform/tensorboard/uploader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def __init__(
690690
max_request_size: int,
691691
tracker: upload_tracker.UploadTracker,
692692
):
693-
"""Constructer for _ScalarBatchedRequestSender.
693+
"""Constructor for _ScalarBatchedRequestSender.
694694
695695
Args:
696696
run_resource_id: The resource id for the run with the following format
@@ -881,7 +881,7 @@ def __init__(
881881
max_tensor_point_size: int,
882882
tracker: upload_tracker.UploadTracker,
883883
):
884-
"""Constructer for _TensorBatchedRequestSender.
884+
"""Constructor for _TensorBatchedRequestSender.
885885
886886
Args:
887887
run_resource_id: The resource id for the run with the following format

google/cloud/aiplatform_v1/services/dataset_service/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(
8282
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
8383
If provided, it overrides the ``host`` argument and tries to create
8484
a mutual TLS channel with client SSL credentials from
85-
``client_cert_source`` or applicatin default SSL credentials.
85+
``client_cert_source`` or application default SSL credentials.
8686
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
8787
Deprecated. A callback to provide client SSL certificate bytes and
8888
private key bytes, both in PEM format. It is ignored if

google/cloud/aiplatform_v1/services/dataset_service/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(
129129
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
130130
If provided, it overrides the ``host`` argument and tries to create
131131
a mutual TLS channel with client SSL credentials from
132-
``client_cert_source`` or applicatin default SSL credentials.
132+
``client_cert_source`` or application default SSL credentials.
133133
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
134134
Deprecated. A callback to provide client SSL certificate bytes and
135135
private key bytes, both in PEM format. It is ignored if

google/cloud/aiplatform_v1/services/endpoint_service/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(
8181
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
8282
If provided, it overrides the ``host`` argument and tries to create
8383
a mutual TLS channel with client SSL credentials from
84-
``client_cert_source`` or applicatin default SSL credentials.
84+
``client_cert_source`` or application default SSL credentials.
8585
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
8686
Deprecated. A callback to provide client SSL certificate bytes and
8787
private key bytes, both in PEM format. It is ignored if

google/cloud/aiplatform_v1/services/endpoint_service/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __init__(
128128
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
129129
If provided, it overrides the ``host`` argument and tries to create
130130
a mutual TLS channel with client SSL credentials from
131-
``client_cert_source`` or applicatin default SSL credentials.
131+
``client_cert_source`` or application default SSL credentials.
132132
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
133133
Deprecated. A callback to provide client SSL certificate bytes and
134134
private key bytes, both in PEM format. It is ignored if

0 commit comments

Comments
 (0)