@inject(config=Config, redis_cache_module=RedisCacheModule)<EOL><INDENT>def __init__(self, config, redis_cache_module):<DEDENT>
self._config = config<EOL>self._redis_cache_module = redis_cache_module<EOL>if '<STR_LIT>' in self._config:<EOL><INDENT>self._cache_timeouts = self._config['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>self._cache_timeouts = None<EOL><DEDENT>self._cache_default_timeout = self._config.get('<STR_LIT>',<EOL>RedisIdHelper.CACHE_DEFAULT_TIMEOUT)<EOL>
Creates the id helper for caching support of AppModels.