dwave.cloud.client.Client.get_regions#
- Client.get_regions(refresh: bool = False) Dict[str, Dict[str, str]] [source]#
Retrieve available API regions.
- Parameters:
refresh – Force cache refresh.
- Returns:
Mapping of region details (name and endpoint) over region codes.
Deprecated since version 0.11.0:
Client.get_regions()
method is deprecated in favor ofdwave.cloud.regions.get_regions()
function and will be removed in 0.14.0.