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
          
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
          """
          value = self.storage.incr(key)
          if elastic_expiry or value == 1:
              self.storage.expire(key, expiry)
          return value
code_tokens: def incr ( self , key , expiry , elastic_expiry = False ) : value = self . storage . incr ( key ) if elastic_expiry or value == 1 : self . storage . expire ( key , expiry ) return value
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
          """