arthurai.client.helper.user_login#

arthurai.client.helper.user_login(api_http_host, api_prefix, login, password, verify_ssl=True)#

Get the current organization for the provided access key

Parameters
  • api_http_host (str) – base url of the host to connect to, including protocol (e.g. “https://app.arthur.ai”)

  • api_prefix (str) – prefix of the API to connect to (e.g. “/api/v3”)

  • login (str) – the username or password to use to log in

  • password (str) – password for the user

  • verify_ssl (bool) – Boolean for whether requests should verify that the SSL certificate is valid and not self-signed

Return type

Tuple[str, Dict[str, Any]]

Returns

a tuple of (access_key, {user object})