dwave-cloud-client
dwave-cloud-client copied to clipboard
Make SAPI endpoint config option name(s) clearer
We currently support:
metadata_api_endpoint(file/kwarg) option andDWAVE_METADATA_API_ENDPOINT(env var)endpoint(file/kwarg) option andDWAVE_API_ENDPOINT(env var) for specifying SolverAPI (SAPI) endpoint - legacy names back from the era when cloud-client worked only with SAPI.
And after #569:
leap_api_endpoint(file/kwarg) option andDWAVE_LEAP_API_ENDPOINT(env var).
For consistency, we should:
- add
solver_api_endpoint/DWAVE_SOLVER_API_ENDPOINToptions, and - make
endpoint/DWAVE_API_ENDPOINTaliases of these new SAPI endpoint options
Optionally:
- deprecate
endpoint/DWAVE_API_ENDPOINTaliases