Skip to main content
Show user environment variables.

Signature

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

Parameters

show_values
bool
Show the values of environment variables

Returns

dict

Example

from vastai import VastAI

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