'Initialize the duplicates filter.
Parameters
server : redis.StrictRedis
The redis server instance.
key : str
Redis key Where to store fingerprints.
debug : bool, optional
Whether to log filtered requests.'

def __init__(self, server, key, debug=False):

    self.server = server
    self.key = key
    self.debug = debug
    self.logdupes = True
