MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / login

Function login

dwave/cloud/cli.py:1017–1021  ·  view source on GitHub ↗

Authorize Ocean to access Leap API on user's behalf.

(*, config_file, profile, oob, skip_valid, output)

Source from the content-addressed store, hash-verified

1015 'can be refreshed.')
1016@standardized_output
1017def login(*, config_file, profile, oob, skip_valid, output):
1018 """Authorize Ocean to access Leap API on user's behalf."""
1019
1020 return _login(config_file=config_file, profile=profile, oob=oob,
1021 skip_valid=skip_valid, output=output)
1022
1023def _login(*, config_file, profile, oob, skip_valid, output):
1024 config = validate_config_v1(load_config(config_file=config_file, profile=profile))

Callers

nothing calls this directly

Calls 1

_loginFunction · 0.85

Tested by

no test coverage detected