Signature
Parameters
int
required
id of instance to label
str
required
label to set
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.label_instance(
id: int,
label: str
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.label_instance(id=12345, label="value")
print(result)