(self)
return '{}-{}'.format(self.check_id, self._last_fetch_number)
Return a unique ID that represents a given "fetch results" operation, for logging purposes.

        Note: this is ad-hoc and dinstinct from the 'request-id' as defined by the SNMP protocol.
Return a unique ID that represents a given "fetch results" operation, for logging purposes.
Return a unique ID that represents a given fetch results operation for logging purposes .
def _get_next_fetch_id(self):
        # type: () -> str
        """
        Return a unique ID that represents a given "fetch results" operation, for logging purposes.

        Note: this is ad-hoc and dinstinct from the 'request-id' as defined by the SNMP protocol.
        """
        self._last_fetch_number += 1

        # Prevent ID from becoming infinitely large.
        self._last_fetch_number %= _MAX_FETCH_NUMBER

        # Include check ID to avoid conflicts between concurrent instances of the check.
        return '{}-{}'.format(self.check_id, self._last_fetch_number)
def _get_next_fetch_id ( self ) : # type: () -> str self . _last_fetch_number += 1 # Prevent ID from becoming infinitely large. self . _last_fetch_number %= _MAX_FETCH_NUMBER # Include check ID to avoid conflicts between concurrent instances of the check. return '{}-{}' . format ( self . check_id , self . _last_fetch_number )