def process_alter_sentry_role_revoke_privilege(self, seqid, iprot, oprot):
    args = alter_sentry_role_revoke_privilege_args()
    args.read(iprot)
    iprot.readMessageEnd()
    result = alter_sentry_role_revoke_privilege_result()
    try:
      result.success = self._handler.alter_sentry_role_revoke_privilege(args.request)
      msg_type = TMessageType.REPLY
    except (TTransport.TTransportException, __HOLE__, SystemExit):
      raise
    except Exception as ex:
      msg_type = TMessageType.EXCEPTION
      logging.exception(ex)
      result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
    oprot.writeMessageBegin("alter_sentry_role_revoke_privilege", msg_type, seqid)
    result.write(oprot)
    oprot.writeMessageEnd()
    oprot.trans.flush()
dataset/ETHPy150Open cloudera/hue/desktop/libs/libsentry/gen-py/sentry_policy_service/SentryPolicyService.py/Processor.process_alter_sentry_role_revoke_privilege