Execute a command on an instance.
Signature
VastAI.execute(
id: int,
command: str
) -> dict
Parameters
id of instance to execute on
Returns
dict
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.execute(id=12345, command="value")
print(result)