dwave.cloud.regions.resolve_endpoints¶
- resolve_endpoints(config: dwave.cloud.config.models.ClientConfig, *, inplace: bool = False, shortcircuit: bool = True) dwave.cloud.config.models.ClientConfig [source]¶
Use region and endpoint from configuration to resolve all endpoints.
Explicit endpoint overrides the region (i.e. region extension is backwards-compatible).
Regional endpoint is fetched from Metadata API. If Metadata API is not available, default global endpoint is used.