GeezerVison is showing github.com — fix: lint · googleapis/python-aiplatform@4d47fe3
File tree
Expand file treeCollapse file tree
Open diff view settings
google/cloud/aiplatform/datasets
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/_datasources.py +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -202,7 +202,7 @@ def create_datasource( |
202 | 202 |
|
203 | 203 | if metadata_schema_uri == schema.dataset.metadata.tabular: |
204 | 204 | if import_schema_uri: |
205 | | - raise ValueError(f"tabular dataset does not support data import.") |
| 205 | + raise ValueError("tabular dataset does not support data import.") |
206 | 206 | return TabularDatasource(gcs_source, bq_source) |
207 | 207 |
|
208 | 208 | if not import_schema_uri and not gcs_source: |
@@ -213,5 +213,5 @@ def create_datasource( |
213 | 213 | ) |
214 | 214 | else: |
215 | 215 | raise ValueError( |
216 | | - f"nontabular dataset requires both import_schema_uri and gcs_source for data import." |
| 216 | + "nontabular dataset requires both import_schema_uri and gcs_source for data import." |
217 | 217 | ) |
Collapse file
Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/dataset.py -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
22 | 22 |
|
23 | 23 | from google.cloud.aiplatform import base |
24 | 24 | from google.cloud.aiplatform import initializer |
25 | | -from google.cloud.aiplatform import schema |
26 | 25 | from google.cloud.aiplatform import utils |
27 | 26 |
|
28 | 27 | from google.cloud.aiplatform.datasets import _datasources |
|
Collapse file
Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/tabular_dataset.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | # limitations under the License. |
16 | 16 | # |
17 | 17 |
|
18 | | -from typing import Optional, Sequence, Dict, Tuple, Union |
| 18 | +from typing import Optional, Sequence, Tuple, Union |
19 | 19 |
|
20 | 20 | from google.auth import credentials as auth_credentials |
21 | 21 |
|
|