def user_set(self, user, remote_name=None): return user_set(self._client_cache, self._user_io.out, user, remote_name)
def user_set(self, user, remote_name=None): remote = self.get_default_remote() if not remote_name else self.get_remote_by_name(remote_name) return user_set(self._client_cache.localdb, user, remote)