@exc.on_http_error(exc.GitlabGetError)<EOL><INDENT>def refresh(self, **kwargs):<DEDENT>
if self._id_attr:<EOL><INDENT>path = '<STR_LIT>' % (self.manager.path, self.id)<EOL><DEDENT>else:<EOL><INDENT>path = self.manager.path<EOL><DEDENT>server_data = self.manager.gitlab.http_get(path, **kwargs)<EOL>self._update_attrs(server_data)<EOL>
Refresh a single object from server.

        Args:
            **kwargs: Extra options to send to the server (e.g. sudo)

        Returns None (updates the object)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabGetError: If the server cannot perform the request