Crate oss_vizier

source ·
Expand description

Unofficial OSS Vizier Client API.

See https://github.com/google/vizier for OSS Vizier backend.

let endpoint = std::env::var("ENDPOINT").unwrap_or_else(|_| "http://localhost:28080".to_string());

let service = VizierServiceClient::connect(endpoint).await.unwrap();

let owner = "owner".to_string();

let mut client = VizierClient::new_with_service(owner, service)

let request = client
    .mk_list_studies_request_builder()
    .with_page_size(2)
    .build();

let studies = client.service.list_studies(request).await.unwrap();
let study_list = &studies.get_ref().studies;
for t in study_list {
    println!("- {}", &t.display_name);
}

Re-exports

Modules

Structs

Enums