@exc.on_http_error(exc.GitlabCreateError)<EOL><INDENT>def create(self, data, **kwargs):<DEDENT>
CreateMixin._check_missing_create_attrs(self, data)<EOL>path = '<STR_LIT>' % (self.path, data.pop('<STR_LIT>'))<EOL>server_data = self.gitlab.http_post(path, **kwargs)<EOL>server_data['<STR_LIT>'] = server_data['<STR_LIT:id>']<EOL>return self._obj_cls(self, server_data)<EOL>
Create a new object.

        Args:
            data (dict): Parameters to send to the server to create the
                         resource
            **kwargs: Extra options to send to the server (e.g. sudo)

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

        Returns:
            RESTObject: A new instance of the manage object class build with
                        the data sent by the server