def get(self, key, model=False):
        section, name = self.parse_lookup(key)
        if model or not preferences_settings.ENABLE_CACHE:
            return self.get_db_pref(section=section, name=name)

        try:
            return self.from_cache(section, name)
        except CachedValueNotFound:
            pass

        db_pref = self.get_db_pref(section=section, name=name)
        self.to_cache(db_pref)
        return db_pref.value
Build one wheel.
dataset/ETHPy150Open EliotBerriot/django-dynamic-preferences/dynamic_preferences/managers.py/PreferencesManager.get--crossover with--dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/site-packages/pip/wheel.py/WheelBuilder._build_one