From caebb47da6647b7ea395668703468ef99fcef877 Mon Sep 17 00:00:00 2001 From: Makoto Uchida Date: Mon, 1 Aug 2022 12:03:23 -0700 Subject: [PATCH] fix: Correct docstring in Dataset classes (#1553) --- google/cloud/aiplatform/datasets/dataset.py | 6 +++--- google/cloud/aiplatform/datasets/image_dataset.py | 6 +++--- google/cloud/aiplatform/datasets/tabular_dataset.py | 6 +++--- google/cloud/aiplatform/datasets/text_dataset.py | 6 +++--- google/cloud/aiplatform/datasets/time_series_dataset.py | 6 +++--- google/cloud/aiplatform/datasets/video_dataset.py | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/google/cloud/aiplatform/datasets/dataset.py b/google/cloud/aiplatform/datasets/dataset.py index 508932779b..6a281a8798 100644 --- a/google/cloud/aiplatform/datasets/dataset.py +++ b/google/cloud/aiplatform/datasets/dataset.py @@ -171,13 +171,13 @@ def create( ``import_schema_uri``, e.g. jsonl file. project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata. diff --git a/google/cloud/aiplatform/datasets/image_dataset.py b/google/cloud/aiplatform/datasets/image_dataset.py index b7f7954278..8c5fa27b12 100644 --- a/google/cloud/aiplatform/datasets/image_dataset.py +++ b/google/cloud/aiplatform/datasets/image_dataset.py @@ -86,13 +86,13 @@ def create( ``import_schema_uri``, e.g. jsonl file. project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata. diff --git a/google/cloud/aiplatform/datasets/tabular_dataset.py b/google/cloud/aiplatform/datasets/tabular_dataset.py index f4366e4a24..bf27d9421b 100644 --- a/google/cloud/aiplatform/datasets/tabular_dataset.py +++ b/google/cloud/aiplatform/datasets/tabular_dataset.py @@ -73,13 +73,13 @@ def create( example: "bq://project.dataset.table_name" project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata. diff --git a/google/cloud/aiplatform/datasets/text_dataset.py b/google/cloud/aiplatform/datasets/text_dataset.py index f74fb76bb7..12b4a1c65c 100644 --- a/google/cloud/aiplatform/datasets/text_dataset.py +++ b/google/cloud/aiplatform/datasets/text_dataset.py @@ -93,13 +93,13 @@ def create( ``import_schema_uri``, e.g. jsonl file. project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata. diff --git a/google/cloud/aiplatform/datasets/time_series_dataset.py b/google/cloud/aiplatform/datasets/time_series_dataset.py index 6cc48e2558..c3eb4e6363 100644 --- a/google/cloud/aiplatform/datasets/time_series_dataset.py +++ b/google/cloud/aiplatform/datasets/time_series_dataset.py @@ -67,13 +67,13 @@ def create( example: "bq://project.dataset.table_name" project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata. diff --git a/google/cloud/aiplatform/datasets/video_dataset.py b/google/cloud/aiplatform/datasets/video_dataset.py index bef719b17b..50c16d719b 100644 --- a/google/cloud/aiplatform/datasets/video_dataset.py +++ b/google/cloud/aiplatform/datasets/video_dataset.py @@ -86,13 +86,13 @@ def create( ``import_schema_uri``, e.g. jsonl file. project (str): - Project to upload this model to. Overrides project set in + Project to upload this dataset to. Overrides project set in aiplatform.init. location (str): - Location to upload this model to. Overrides location set in + Location to upload this dataset to. Overrides location set in aiplatform.init. credentials (auth_credentials.Credentials): - Custom credentials to use to upload this model. Overrides + Custom credentials to use to upload this dataset. Overrides credentials set in aiplatform.init. request_metadata (Sequence[Tuple[str, str]]): Strings which should be sent along with the request as metadata.