Skip to main content
Version: v0.67.0

Backend

The H2O MLOps client backend gives access to an auto-generated API. This API is not officially supported or documented. However, it may provide access to features not available in the standard API.

Note: It is not recommended to use the backend API for production-critical tasks.

  1. Initialize the standard client. This will also make available the backend API.
import h2o_mlops


mlops = h2o_mlops.Client()

The client will have a hidden attribute _backend.

mlops._backend

Output:

<h2o_mlops_client.client.Client>
  1. To use the backend, you also need to import a hidden library (which is already added by the standard client install).
import h2o_mlops_autogen
  1. You can now send a command through the backend.
mlops._backend.storage.project.list_projects(
h2o_mlops_autogen.StorageListProjectsRequest()
)

Feedback