Module h2o_wave_ml.utils

Functions

list_dai_instances

def list_dai_instances(access_token: str = '', refresh_token: str = '') ‑> List[Dict]

Gets a list of all available Driverless instances.

A token is required to authenticate with Steam if H2O_WAVE_ML_STEAM_REFRESH_TOKEN is not set.

Args
access_token
Optional access token to authenticate with Steam.
refresh_token
Optional refresh token to authenticate with Steam.
Returns

A list of Driverless instances. The list contains a dictionary with name, status and created_by items.

list_dai_multinodes

def list_dai_multinodes(access_token: str = '', refresh_token: str = '') ‑> List[str]

Gets a list of all available Driverless multinode instances.

A token is required to authenticate with Steam if H2O_WAVE_ML_STEAM_REFRESH_TOKEN is not set.

Args
access_token
Optional access token to authenticate with Steam.
refresh_token
Optional refresh token to authenticate with Steam.
Returns

A list of Driverless multinode instances.