def process_list_sentry_privileges_for_provider(self, seqid, iprot, oprot):
    args = list_sentry_privileges_for_provider_args()
    args.read(iprot)
    iprot.readMessageEnd()
    result = list_sentry_privileges_for_provider_result()
    try:
      result.success = self._handler.list_sentry_privileges_for_provider(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("list_sentry_privileges_for_provider", 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_list_sentry_privileges_for_provider