dwave.cloud.regions.resolve_endpoints#
- resolve_endpoints(config: ClientConfig, *, inplace: bool = False, shortcircuit: bool = True) 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.