function login
verify=True.
Args:
anonymous: Set to “must”, “allow”, or “never”. If set to “must”, always log a user in anonymously. If set to “allow”, only create an anonymous user if the user isn’t already logged in. If set to “never”, never log a user anonymously. Default set to “never”. Defaults toNone.key: The API key to use.relogin: If true, will re-prompt for API key.host: The host to connect to.force: If true, will force a relogin.timeout: Number of seconds to wait for user input.verify: Verify the credentials with the W&B server.referrer: The referrer to use in the URL login request.
bool: Ifkeyis configured.
AuthenticationError: Ifapi_keyfails verification with the server.UsageError: Ifapi_keycannot be configured and no tty.