def set(self, name, value, priority='project'):
        self._assert_mutability()
        priority = get_settings_priority(priority)
        if name not in self:
            if isinstance(value, SettingsAttribute):
                self.attributes[name] = value
            else:
                self.attributes[name] = SettingsAttribute(value, priority)
        else:
            self.attributes[name].set(value, priority)
Store a key/value attribute with a given priority.
dataset/ETHPy150Open scrapy/scrapy/scrapy/settings/__init__.py/BaseSettings.set