Skip to main content
Show user environment variables.

Signature

VastAI.show_env_vars(show_values: bool = False) -> str

Parameters

show_values
bool
default:"False"
show_values

Returns

str — Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_env_vars()
print(result)