Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@cachedproperty
def rows_written(self):
''' Unique rows written '''
return errorcheck(self._sw_response.getRowsWritten(), self._sw_response)
@cachedproperty
def messages(self):
''' Return a list of messages '''
messages = []
nmessages = errorcheck(self._sw_response.getNMessages(), self._sw_response)
for i in range(nmessages):
messages.append(errorcheck(
a2u(self._sw_response.getNextMessage(), 'utf-8'), self._sw_response))
return messages
@cachedproperty
def data_movement_bytes(self):
''' Data movement bytes '''
return errorcheck(self._sw_response.getDataMovementBytes(), self._sw_response)
@cachedproperty
def data_movement_time(self):
''' Data movement time '''
return errorcheck(self._sw_response.getDataMovementTime(), self._sw_response)
@cachedproperty
def cpu_user_time(self):
''' CPU User Time '''
return errorcheck(self._sw_response.getCPUUserTime(), self._sw_response)
@cachedproperty
def system_nodes(self):
''' Number of nodes '''
return errorcheck(self._sw_response.getSystemNodes(), self._sw_response)
@cachedproperty
def debug(self):
''' Disposition debug information '''
return errorcheck(a2u(self._sw_response.getDispositionDebug(), 'utf-8'),
self._sw_response)
@cachedproperty
def cpu_system_time(self):
''' CPU System Time '''
return errorcheck(self._sw_response.getCPUSystemTime(), self._sw_response)
@cachedproperty
def severity(self):
''' Disposition severity '''
return errorcheck(self._sw_response.getDispositionSeverity(),
self._sw_response)
@cachedproperty
def disposition(self):
''' Return a :class:`CASDisposition` object '''
return CASDisposition(self._sw_response)