コード例 #1
0
def get_summary(service, operation_handle, session_handle):
    req = TGetExecSummaryReq(operationHandle=operation_handle,
                             sessionHandle=session_handle)
    log.debug('get_summary: req=%s', req)
    resp = service.GetExecSummary(req)
    log.debug('get_summary: resp=%s', resp)
    err_if_rpc_not_ok(resp)
    return resp.summary
コード例 #2
0
 def get_summary(self):
     req = TGetExecSummaryReq(operationHandle=self.handle,
                              sessionHandle=self.session.handle)
     resp = self._rpc('GetExecSummary', req)
     return resp.summary