original_docstring: 
          increments the counter for a given rate limit key
  
          :param str key: the key to increment
          :param int expiry: amount in seconds for the key to expire in
          :param bool elastic_expiry: whether to keep extending the rate limit
           window every hit.
          
docstring: increments the counter for a given rate limit key
docstring_tokens: increments the counter for a given rate limit key
code: def incr(self, key, expiry, elastic_expiry=False):
          """
          increments the counter for a given rate limit key
  
          :param str key: the key to increment
          :param int expiry: amount in seconds for the key to expire in
          :param bool elastic_expiry: whether to keep extending the rate limit
           window every hit.
          """
          self.get(key)
          self.__schedule_expiry()
          self.storage[key] += 1
          if elastic_expiry or self.storage[key] == 1:
              self.expirations[key] = time.time() + expiry
          return self.storage.get(key, 0)
code_tokens: def incr ( self , key , expiry , elastic_expiry = False ) : self . get ( key ) self . __schedule_expiry ( ) self . storage [ key ] += 1 if elastic_expiry or self . storage [ key ] == 1 : self . expirations [ key ] = time . time ( ) + expiry return self . storage . get ( key , 0 )
short_docstring: increments the counter for a given rate limit key
short_docstring_tokens: increments the counter for a given rate limit key
comment: """
          increments the counter for a given rate limit key
  
          :param str key: the key to increment
          :param int expiry: amount in seconds for the key to expire in
          :param bool elastic_expiry: whether to keep extending the rate limit
           window every hit.
          """