h2oai / cloud-discovery-py

H2O Cloud Discovery Client.
Apache License 2.0
4 stars 1 forks source link

Introduces and exposes the Discovery class. #8

Closed zoido closed 1 year ago

zoido commented 1 year ago

This is supposed to be the main way how to access the discovery data.

import h2o_discovery
discovery = h2o_discovery.discover()
component_client = h2o_component_client.New(discovery.services["component"].uri)

PART OF https://github.com/h2oai/cloud-discovery/issues/37

zoido commented 1 year ago

@johnygomez I like the proposal. Will implement it. Thanks.

zoido commented 1 year ago

@johnygomez PTAL. I needed/wanted to rename the "find URL" functionality to avoid name conflict.

zoido commented 1 year ago

@dvorka I am going to proceed in merging. Feel free to comment afterwards.