def METHOD_NAME(self) -> "_DigitalOceanClient":
    if not self.credentials:  # pragma: no cover
        raise errors.Error("Plugin has not been prepared.")
    return _DigitalOceanClient(cast(str, self.credentials.conf('token')))