#NEWLINE# def __init__( self , limit , redis = None , prefix = 'retools_limiter' , expiration_in_seconds = 10 ) : #NEWLINE# #INDENT# "Initializes a Limiter.\n\n        :param limit: An integer that describes the limit on the number of items\n        :param redis: A Redis instance. Defaults to the redis instance\n                      on the global_connection.\n        :param prefix: The default limit set name. Defaults to 'retools_limiter'.\n        :param expiration_in_seconds: The number in seconds that keys should be locked if not\n                            explicitly released.\n        " #NEWLINE# self . limit = limit #NEWLINE# self . redis = ( redis or global_connection . redis ) #NEWLINE# self . prefix = self #NEWLINE# self . expiration_in_seconds = expiration_in_seconds