krasmussen37 commented on issue #34338: URL: https://github.com/apache/superset/issues/34338#issuecomment-3156529374
Looking at our git history, we **did** previously have `RESULTS_BACKEND` set to a dict, which would have caused exactly the error you're describing: ```python # Previous configuration (from git history): RESULTS_BACKEND = { 'cache_type': 'redis', 'cache_redis_host': REDIS_HOST, 'cache_redis_port': REDIS_PORT, 'cache_redis_db': REDIS_DB, } We fixed this by changing to the proper cachelib object: # Current configuration: from cachelib.redis import RedisCache RESULTS_BACKEND = RedisCache( host=REDIS_HOST, port=int(REDIS_PORT), db=int(REDIS_DB), key_prefix='superset_results_' ) So yes, we likely encountered the "'dict' object has no attribute 'set'" error during development and fixed it by switching from the dict configuration to the proper RedisCache object. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org