Skip to content

Commit

Permalink
chore: Fix typos in codebase
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716704477
  • Loading branch information
holtskinner authored and copybara-github committed Jan 17, 2025
1 parent ec57cf4 commit 39d4c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/unit/vertexai/test_batch_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def test_submit_batch_prediction_job_with_invalid_input_dataset(self):
invalid_bq_uris = ["bq://projectId.dataset1", "bq://projectId.dataset2"]
with pytest.raises(
ValueError,
match=("Multiple Bigquery input datasets are not supported."),
match=("Multiple BigQuery input datasets are not supported."),
):
batch_prediction.BatchPredictionJob.submit(
source_model=_TEST_GEMINI_MODEL_NAME,
Expand Down
2 changes: 1 addition & 1 deletion vertexai/batch_prediction/_batch_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def submit(
gcs_source = input_dataset
elif first_input_uri.startswith("bq://"):
if not isinstance(input_dataset, str):
raise ValueError("Multiple Bigquery input datasets are not supported.")
raise ValueError("Multiple BigQuery input datasets are not supported.")
bigquery_source = input_dataset
else:
raise ValueError(
Expand Down

0 comments on commit 39d4c2d

Please sign in to comment.