googleapis / googleapis/python-aiplatform

Eu multi-region not compatible with init

Đang mở
#6,822 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
api: vertex-ai
Ngôn ngữ chính
Python
Star
905
Fork
465
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
44

Mô tả

#### Environment details

- OS type and version: Mac and Linux
- Python version: `3.13.2`
- `google-cloud-aiplatform` version: `1.153.1`

#### Steps to reproduce

1. Initialize vertex client through vertexai.init or aiplatform.init with location = "eu"
2. It fails because its not considered a valid location

#### Code example

```python
from google.cloud import aiplatform
aiplatform.init(location="eu")
```

#### Stack trace
```
ValueError: Unsupported region for Vertex AI, select from frozenset({'asia-northeast3', 'us-west1', 'europe-west6', 'europe-west4', 'europe-central2', 'europe-west12', 'europe-west9', 'us-east1', 'me-central2', 'europe-west8', 'europe-north2', 'us-east5', 'australia-southeast2', 'asia-northeast1', 'asia-southeast2', 'southamerica-east1', 'northamerica-northeast1', 'africa-south1', 'europe-west1', 'us-east7', 'us-east4', 'asia-east2', 'us-south1', 'southamerica-west1', 'europe-west2', 'europe-west3', 'northamerica-northeast2', 'us-west4', 'us-central1', 'asia-south2', 'me-central1', 'us-west3', 'asia-northeast2', 'global', 'europe-north1', 'asia-south1', 'australia-southeast1', 'asia-east1', 'europe-southwest1', 'asia-southeast1', 'me-west1', 'us-west8', 'us-west2'})
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.