<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_puppetclass(self, synchronous=True, **kwargs):
 """Remove a Puppet class from host group Here is an example of how to use this method:: hostgroup.delete_puppetclass(data={'puppetclass_id': puppet.id}) Constructs path: /api/hostgroups/:hostgroup_id/puppetclass_ids/:id :param synchronous: What should happen if the server returns an HTTP 202 (accepted) status code? Wait for the task to complete if ``True``. Immediately return the server's response otherwise. :param kwargs: Arguments to pass to requests. :returns: The server's response, with all JSON decoded. :raises: ``requests.exceptions.HTTPError`` If the server responds with an HTTP 4XX or 5XX message. """

        kwargs = kwargs.copy()
        kwargs.update(self._server_config.get_client_kwargs())
        path = "{0}/{1}".format(
            self.path('puppetclass_ids'),
            kwargs['data'].pop('puppetclass_id')
        )
        return _handle_response(
            client.delete(path, **kwargs), self._server_config, synchronous)