Skip to content

Commit

Permalink
docs: update docstrings for "data_item_labels" in dataset
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 492062067
  • Loading branch information
jaycee-li authored and Copybara-Service committed Dec 1, 2022
1 parent 957703f commit b2f8c42
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions google/cloud/aiplatform/datasets/dataset.py
Expand Up @@ -170,6 +170,11 @@ def create(
labels specified inside index file referenced by
``import_schema_uri``,
e.g. jsonl file.
This arg is not for specifying the annotation name or the
training target of your data, but for some global labels of
the dataset. E.g.,
'data_item_labels={"aiplatform.googleapis.com/ml_use":"training"}'
specifies that all the uploaded data are used for training.
project (str):
Project to upload this dataset to. Overrides project set in
aiplatform.init.
Expand Down Expand Up @@ -528,6 +533,11 @@ def import_data(
labels specified inside index file referenced by
``import_schema_uri``,
e.g. jsonl file.
This arg is not for specifying the annotation name or the
training target of your data, but for some global labels of
the dataset. E.g.,
'data_item_labels={"aiplatform.googleapis.com/ml_use":"training"}'
specifies that all the uploaded data are used for training.
sync (bool):
Whether to execute this method synchronously. If False, this method
will be executed in concurrent Future and any downstream object will
Expand Down

0 comments on commit b2f8c42

Please sign in to comment.