code: def get_attachments(self, include_fields=None, exclude_fields=None):
          
          if "attachments" in self.__dict__:
              return self.attachments
  
          data = self.bugzilla.get_attachments([self.bug_id], None,
                  include_fields, exclude_fields)
          return data["bugs"][str(self.bug_id)]
docs: Helper call to Bugzilla.get_attachments. If you want to fetch
          specific attachment IDs, use that function instead