<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_attachments(self, ids, attachment_ids, include_fields=None, exclude_fields=None):
 """ Wrapper for Bug.attachments. One of ids or attachment_ids is required :param ids: Get attachments for this bug ID :param attachment_ids: Specific attachment ID to get https://bugzilla.readthedocs.io/en/latest/api/core/v1/attachment.html#get-attachment """

        params = {
            "ids": self._listify(ids) or [],
            "attachment_ids": self._listify(attachment_ids) or [],
        }
        if include_fields:
            params["include_fields"] = self._listify(include_fields)
        if exclude_fields:
            params["exclude_fields"] = self._listify(exclude_fields)

        return self._proxy.Bug.attachments(params)