import osfrom scale_gp import SGPClientclient = SGPClient( api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted)page = client.model_servers.list()page = page.items[0]print(page.account_id)
Fixed Server interface for Model execution by named alias
GET
/
v4
/
serving
Python
import osfrom scale_gp import SGPClientclient = SGPClient( api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted)page = client.model_servers.list()page = page.items[0]print(page.account_id)