def METHOD_NAME(self, settings: dict):
    """Update settings."""
    if "wallet.id" in settings:
        raise WalletSettingsError("wallet.id cannot be saved in settings.")
    self._settings.update(settings)