Skip to main content

Module clients.dai_engine_constraint.client

Classes

DAIEngineConstraintSetClient

class DAIEngineConstraintSetClient(url: str, platform_token: str, platform_oidc_url: str, platform_oidc_client_id: str, platform_oidc_client_secret: Optional[str] = None, verify_ssl: bool = True, ssl_ca_cert: Optional[str] = None)

DAIEngineConstraintSetClient manages DAIEngineConstraintSets.

Initializes DAIEngineConstraintSetClient.

Args
url : str
URL of AI Engine Manager Gateway.
platform_token : str
H2O.ai platform token.
platform_oidc_url : str
Base URL of the platform_token OIDC issuer.
platform_oidc_client_id : str
OIDC Client ID associated with the platform_token.
platform_oidc_client_secret : str, optional
Optional OIDC Client Secret that issued the 'platform_token'.
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_constraint_set

def get_constraint_set(self, workspace_id: str) ‑> h2o_engine_manager.gen.model.v1_dai_engine_constraint_set.V1DAIEngineConstraintSet

Feedback