def __init__(self, *args, **kwargs): StrictRedis.__init__(self, *args, **kwargs) self.connection_pool.connection_class = AsyncConnection