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: Add all supported uCAIP GA regions (#350) · googleapis/python-aiplatform@5e14c59

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • google/cloud/aiplatform
    • constants.py
  • tests/unit/aiplatform
    • test_initializer.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/cloud/aiplatform/constants.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/constants.py
+16-1Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,22 @@
1616
#
1717

1818
DEFAULT_REGION = "us-central1"
19-
SUPPORTED_REGIONS = ("us-central1", "europe-west4", "asia-east1")
19+
SUPPORTED_REGIONS = {
20+
"asia-east1",
21+
"asia-northeast1",
22+
"asia-northeast3",
23+
"asia-southeast1",
24+
"australia-southeast1",
25+
"europe-west1",
26+
"europe-west2",
27+
"europe-west4",
28+
"northamerica-northeast1",
29+
"us-central1",
30+
"us-east1",
31+
"us-east4",
32+
"us-west1",
33+
}
34+
2035
API_BASE_PATH = "aiplatform.googleapis.com"
2136

2237
# Batch Prediction
Collapse file

‎tests/unit/aiplatform/test_initializer.py‎

Copy file name to clipboardExpand all lines: tests/unit/aiplatform/test_initializer.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ def test_create_client_user_agent(self):
141141
("us-central1", None, "us-central1-aiplatform.googleapis.com"),
142142
("us-central1", "europe-west4", "europe-west4-aiplatform.googleapis.com",),
143143
("asia-east1", None, "asia-east1-aiplatform.googleapis.com"),
144+
(
145+
"asia-southeast1",
146+
"australia-southeast1",
147+
"australia-southeast1-aiplatform.googleapis.com",
148+
),
144149
],
145150
)
146151
def test_get_client_options(

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.