@classmethod
def from_dict(cls, dic):
    """
        type: (cls, dict) -> SpiderSetting
        """
    spider_name = dic['spider_name']
    project_name = dic.get('project_name')
    extra_requirements = dic.get('extra_requirements')
    spider_parameters = dic.get('spider_parameters')
    base_settings_module = dic.get('base_settings_module')
    output_file = dic.get('output_file')
    plugin_settings = dic.get('plugin_settings')
    return cls(spider_name, extra_requirements, spider_parameters,
        project_name, base_settings_module=base_settings_module,
        output_file=output_file, plugin_settings=plugin_settings)
