code: def updateattachmentflags(self, bugid, attachid, flagname, **kwargs):
          
          # Bug ID was used for the original custom redhat API, no longer
          # needed though
          ignore = bugid
  
          flags = {"name": flagname}
          flags.update(kwargs)
          update = {'ids': [int(attachid)], 'flags': [flags]}
  
          return self._proxy.Bug.update_attachment(update)
docs: Updates a flag for the given attachment ID.
          Optional keyword args are:
              status:    new status for the flag ('-', '+', '?', 'X')
              requestee: new requestee for the flag