GeezerVison is showing github.com — fix: Fixed docstrings for wildcards and matching engine type (#1220) · googleapis/python-aiplatform@d778dee
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/_datasources.py +6-8Lines changed: 6 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -121,10 +121,9 @@ def __init__( | 121 | 121 | Args: | 122 | 122 | gcs_source (Union[str, Sequence[str]]): | 123 | 123 | Required. The Google Cloud Storage location for the input content. | 124 | | - Google Cloud Storage URI(-s) to the input file(s). May contain | 125 | | - wildcards. For more information on wildcards, see | 126 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 127 | | - examples: | | 124 | + Google Cloud Storage URI(-s) to the input file(s). | | 125 | +
| | 126 | + Examples: | 128 | 127 | str: "gs://bucket/file.csv" | 129 | 128 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 130 | 129 | import_schema_uri (str): | @@ -185,10 +184,9 @@ def create_datasource( | 185 | 184 | `OpenAPI 3.0.2 Schema | 186 | 185 | gcs_source (Union[str, Sequence[str]]): | 187 | 186 | The Google Cloud Storage location for the input content. | 188 | | - Google Cloud Storage URI(-s) to the input file(s). May contain | 189 | | - wildcards. For more information on wildcards, see | 190 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 191 | | - examples: | | 187 | + Google Cloud Storage URI(-s) to the input file(s). | | 188 | +
| | 189 | + Examples: | 192 | 190 | str: "gs://bucket/file.csv" | 193 | 191 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 194 | 192 | bq_source (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/image_dataset.py +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -59,10 +59,9 @@ def create( | 59 | 59 | of any UTF-8 characters. | 60 | 60 | gcs_source (Union[str, Sequence[str]]): | 61 | 61 | Google Cloud Storage URI(-s) to the | 62 | | - input file(s). May contain wildcards. For more | 63 | | - information on wildcards, see | 64 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 65 | | - examples: | | 62 | + input file(s). | | 63 | +
| | 64 | + Examples: | 66 | 65 | str: "gs://bucket/file.csv" | 67 | 66 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 68 | 67 | import_schema_uri (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/tabular_dataset.py +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -63,10 +63,9 @@ def create( | 63 | 63 | of any UTF-8 characters. | 64 | 64 | gcs_source (Union[str, Sequence[str]]): | 65 | 65 | Google Cloud Storage URI(-s) to the | 66 | | - input file(s). May contain wildcards. For more | 67 | | - information on wildcards, see | 68 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 69 | | - examples: | | 66 | + input file(s). | | 67 | +
| | 68 | + Examples: | 70 | 69 | str: "gs://bucket/file.csv" | 71 | 70 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 72 | 71 | bq_source (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/text_dataset.py +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -66,10 +66,9 @@ def create( | 66 | 66 | of any UTF-8 characters. | 67 | 67 | gcs_source (Union[str, Sequence[str]]): | 68 | 68 | Google Cloud Storage URI(-s) to the | 69 | | - input file(s). May contain wildcards. For more | 70 | | - information on wildcards, see | 71 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 72 | | - examples: | | 69 | + input file(s). | | 70 | +
| | 71 | + Examples: | 73 | 72 | str: "gs://bucket/file.csv" | 74 | 73 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 75 | 74 | import_schema_uri (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/time_series_dataset.py +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -57,10 +57,9 @@ def create( | 57 | 57 | of any UTF-8 characters. | 58 | 58 | gcs_source (Union[str, Sequence[str]]): | 59 | 59 | Google Cloud Storage URI(-s) to the | 60 | | - input file(s). May contain wildcards. For more | 61 | | - information on wildcards, see | 62 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 63 | | - examples: | | 60 | + input file(s). | | 61 | +
| | 62 | + Examples: | 64 | 63 | str: "gs://bucket/file.csv" | 65 | 64 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 66 | 65 | bq_source (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/video_dataset.py +3-4Lines changed: 3 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -59,10 +59,9 @@ def create( | 59 | 59 | of any UTF-8 characters. | 60 | 60 | gcs_source (Union[str, Sequence[str]]): | 61 | 61 | Google Cloud Storage URI(-s) to the | 62 | | - input file(s). May contain wildcards. For more | 63 | | - information on wildcards, see | 64 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 65 | | - examples: | | 62 | + input file(s). | | 63 | +
| | 64 | + Examples: | 66 | 65 | str: "gs://bucket/file.csv" | 67 | 66 | Sequence[str]: ["gs://bucket/file1.csv", "gs://bucket/file2.csv"] | 68 | 67 | import_schema_uri (str): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/jobs.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -409,8 +409,7 @@ def create( | 409 | 409 | gcs_source (Optional[Sequence[str]]): | 410 | 410 | Google Cloud Storage URI(-s) to your instances to run | 411 | 411 | batch prediction on. They must match `instances_format`. | 412 | | - May contain wildcards. For more information on wildcards, see | 413 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | | 412 | +
| 414 | 413 | bigquery_source (Optional[str]): | 415 | 414 | BigQuery URI to a table, up to 2000 characters long. For example: | 416 | 415 | `bq://projectId.bqDatasetId.bqTableId` | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/matching_engine/matching_engine_index.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -302,7 +302,7 @@ def update_embeddings( | 302 | 302 | The expected structure and format of the files this URI points to is | 303 | 303 | described at | 304 | 304 | https://docs.google.com/document/d/12DLVB6Nq6rdv8grxfBsPhUA283KWrQ9ZenPBp0zUC30 | 305 | | - is_complete_overwrite (str): | | 305 | + is_complete_overwrite (bool): | 306 | 306 | Optional. If this field is set together with contentsDeltaUri when calling IndexService.UpdateIndex, | 307 | 307 | then existing content of the Index will be replaced by the data from the contentsDeltaUri. | 308 | 308 | request_metadata (Sequence[Tuple[str, str]]): | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform/models.py -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -2491,8 +2491,6 @@ def batch_predict( | 2491 | 2491 | gcs_source: Optional[Sequence[str]] = None | 2492 | 2492 | Google Cloud Storage URI(-s) to your instances to run | 2493 | 2493 | batch prediction on. They must match `instances_format`. | 2494 | | - May contain wildcards. For more information on wildcards, see | 2495 | | - https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. | 2496 | 2494 | bigquery_source: Optional[str] = None | 2497 | 2495 | BigQuery URI to a table, up to 2000 characters long. For example: | 2498 | 2496 | `bq://projectId.bqDatasetId.bqTableId` | |
|