(self)
return elapsed > self._refresh_interval_sec
Whether we should reset OIDs to initial parsed OIDs.
Whether we should reset OIDs to initial parsed OIDs.
Whether we should reset OIDs to initial parsed OIDs .
def should_reset(self):
        # type: () -> bool
        """
        Whether we should reset OIDs to initial parsed OIDs.
        """
        if not self._is_cache_enabled():
            return False
        elapsed = time.time() - self._last_ts
        return elapsed > self._refresh_interval_sec
def should_reset ( self ) : # type: () -> bool if not self . _is_cache_enabled ( ) : return False elapsed = time . time ( ) - self . _last_ts return elapsed > self . _refresh_interval_sec