import os
from scale_gp import SGPClient
client = 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)[
{
"name": "<string>",
"model_server_id": "<string>",
"account_id": "<string>",
"model_deployment_id": "<string>",
"alias": "<string>"
}
]import os
from scale_gp import SGPClient
client = 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)[
{
"name": "<string>",
"model_server_id": "<string>",
"account_id": "<string>",
"model_deployment_id": "<string>",
"alias": "<string>"
}
]