code: def tick(self):
      """Blocks until it has been at least `interval_secs` since last
      tick()."""
      wait_secs = (
          self._last_called_secs
          + self._interval_secs
          - self._time.time()
      )
      if wait_secs > 0:
          self._time.sleep(wait_secs)
      self._last_called_secs = self._time.time()
  
imports: import time
label_desc: Use image node_id 2 for calling the RateLimiter obj's underlying member method code with example usage: obj.tick() without return types