GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: lint · googleapis/python-aiplatform@4d47fe3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • google/cloud/aiplatform/datasets
    • _datasources.py
    • dataset.py
    • tabular_dataset.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/aiplatform/datasets/_datasources.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/_datasources.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def create_datasource(
202202

203203
if metadata_schema_uri == schema.dataset.metadata.tabular:
204204
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.")
206206
return TabularDatasource(gcs_source, bq_source)
207207

208208
if not import_schema_uri and not gcs_source:
@@ -213,5 +213,5 @@ def create_datasource(
213213
)
214214
else:
215215
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."
217217
)
Collapse file

‎google/cloud/aiplatform/datasets/dataset.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/dataset.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
from google.cloud.aiplatform import base
2424
from google.cloud.aiplatform import initializer
25-
from google.cloud.aiplatform import schema
2625
from google.cloud.aiplatform import utils
2726

2827
from google.cloud.aiplatform.datasets import _datasources
Collapse file

‎google/cloud/aiplatform/datasets/tabular_dataset.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/datasets/tabular_dataset.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
#
1717

18-
from typing import Optional, Sequence, Dict, Tuple, Union
18+
from typing import Optional, Sequence, Tuple, Union
1919

2020
from google.auth import credentials as auth_credentials
2121

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.