def from_config(cls, config, name, section_key="score_caches"):
        """
        score_caches:
            redis_sentinel:
                class: ores.score_caches.RedisSentinel
                prefix: ores-derp
                ttl: 9001
                socket_timeout: 0.1
                cluster: mymaster
                hosts:
                  - localhost:5000
                  - localhost:5001
                  - localhost:5002
        """
        sentinel_logger.info("Loading RedisSentinel '{0}' from config.".format(name))
        section = config[section_key][name]

        kwargs = {k: v for k, v in section.items() if k != "class"}

        return cls.from_parameters(**kwargs)
score_caches:
            redis_sentinel:
                class: ores.score_caches.RedisSentinel
                prefix: ores-derp
                ttl: 9001
                socket_timeout: 0.1
                cluster: mymaster
                hosts:
                  - localhost:5000
                  - localhost:5001
                  - localhost:5002