def from_cache(self, section, name):
        cached_value = self.cache.get(
            self.get_cache_key(section, name), CachedValueNotFound)

        if cached_value is CachedValueNotFound:
            raise CachedValueNotFound
        return self.registry.get(section=section, name=name).serializer.deserialize(cached_value)
Test with gaussian random numbers.
dataset/ETHPy150Open EliotBerriot/django-dynamic-preferences/dynamic_preferences/managers.py/PreferencesManager.from_cache--crossover with--dataset/ETHPy150Open Cue/scales/src/greplin/scales/samplestats_test.py/UniformSampleTest.testGaussian