def __init__(self, app=None, **kwargs):
self.app = app<EOL>self.include_collections = kwargs.get('<STR_LIT>', False)<EOL>strict = self.include_collections or kwargs.get('<STR_LIT:strict>', False)<EOL>self.redis_class = StrictRedis if strict else Redis<EOL>self.include_rq = kwargs.get('<STR_LIT>', False)<EOL>if self.include_rq:<EOL><INDENT>self.queues = kwargs.get('<STR_LIT>', ['<STR_LIT:default>'])<EOL>self.worker_process = None<EOL><DEDENT>self.config_prefix = kwargs.get('<STR_LIT>', '<STR_LIT>')<EOL>self._rdb = None<EOL>
:param app: Flask's app
:param kwargs: strict, config_prefix, collections, rq, rq_queues