Skip to main content

Module clients.adjusted_dai_profile.client

Classes

AdjustedDAIProfileClient

class AdjustedDAIProfileClient(connection_config: h2o_engine_manager.clients.connection_config.ConnectionConfig, verify_ssl: bool = True, ssl_ca_cert: Optional[str] = None)

AdjustedDAIProfileClient manages Adjusted Driverless AI profiles.

Initializes AdjustedDAIProfileClient.

Args
connection_config : ConnectionConfig
AIEM connection configuration object.
verify_ssl
Set to False to disable SSL certificate verification.
ssl_ca_cert
Path to a CA cert bundle with certificates of trusted CAs.

Methods

get_adjusted_profile

def get_adjusted_profile(self, workspace_id: str, profile_id: str) ‑> h2o_engine_manager.clients.adjusted_dai_profile.adjusted_profile.AdjustedDAIProfile

Returns a specific profile adjusted for a workspace.

Args
workspace_id : str
The ID of a workspace.
profile_id : str
The ID of an profile.
Returns
AdjustedDAIProfile
Adjusted Driverless AI profile.

list_adjusted_profiles

def list_adjusted_profiles(self, workspace_id: str, page_size: int = 0, page_token: str = '') ‑> h2o_engine_manager.clients.adjusted_dai_profile.adjusted_profile_page.AdjustedDAIProfilesPage

Returns a list of adjusted profiles.

Args
workspace_id : str
The ID of a workspace in which adjusted profiles will be listed.
page_size : int, optional
Maximum number of AdjustedDAIProfiles to return in a response. If unspecified (or set to 0), at most 50 AdjustedDAIProfiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token : str, optional
Leave unset to receive the initial page. To list any subsequent pages use the value of 'next_page_token' returned from the AdjustedDAIProfilesPage.
Returns
AdjustedDAIProfilesPage
A list of Adjusted Driverless AI profiles together with a next_page_token for the next page.

list_all_adjusted_profiles

def list_all_adjusted_profiles(self, workspace_id: str) ‑> List[h2o_engine_manager.clients.adjusted_dai_profile.adjusted_profile.AdjustedDAIProfile]

Returns a list of all adjusted profiles.

Args
workspace_id : str
The ID of a workspace in which adjusted profiles will be listed.
Returns
List[AdjustedDAIProfile]
A list of Adjusted Driverless AI profiles.

Feedback