Skip to content

Commit

Permalink
feat: Add support for Vertex Tables Q1 regions (#1065)
Browse files Browse the repository at this point in the history
Add Vertex Tables Q1 regions in the SUPPORTED_REGIONS set to enable the SDK. The implementation of these regions is complete and the change is required for E2E tests.
  • Loading branch information
sakagarwal authored Mar 8, 2022
1 parent db34b85 commit 6383d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions google/cloud/aiplatform/constants/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"us-east4",
"us-west1",
"us-west2",
"us-west4",
"southamerica-east1",
}

API_BASE_PATH = "aiplatform.googleapis.com"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/aiplatform/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

def test_invalid_region_raises_with_invalid_region():
with pytest.raises(ValueError):
aiplatform.utils.validate_region(region="us-west4")
aiplatform.utils.validate_region(region="us-west3")


def test_invalid_region_does_not_raise_with_valid_region():
Expand Down

0 comments on commit 6383d4f

Please sign in to comment.