googleapis / googleapis/python-aiplatform

api_endpoint in `snippets` methods can be reconstructed from the `location` argument.

Open
#2,136 0 comments 0 reactions 0 assignees View on GitHub
api: vertex-ai
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

As per the title, `api_endpoint` can be reconstructed from the `location` argument. This led to problems because if the model is deployed elsewhere the requests fail. Additionally, the `api_endpoint` meaning is a bit opaque since a user could assume that everything should work even if `location` and `api_endpoint` point to different regions (i.e. the endpoint is just a gateway).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.