Skip to content

Commit 6383d4f

Browse files
authored
feat: Add support for Vertex Tables Q1 regions (#1065)
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.
1 parent db34b85 commit 6383d4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

google/cloud/aiplatform/constants/base.py

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"us-east4",
3737
"us-west1",
3838
"us-west2",
39+
"us-west4",
40+
"southamerica-east1",
3941
}
4042

4143
API_BASE_PATH = "aiplatform.googleapis.com"

tests/unit/aiplatform/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

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

4747

4848
def test_invalid_region_does_not_raise_with_valid_region():

0 commit comments

Comments
 (0)