class documentation

class Settings(BaseSettings):

View In Hierarchy

This object stores Scrapy settings for the configuration of internal components, and can be used for any further customization.

It is a direct subclass and supports all methods of ~scrapy.settings.BaseSettings. Additionally, after instantiation of this class, the new object will have the global default settings described on :ref:`topics-settings-ref` already populated.

Method __init__ Undocumented

Inherited from BaseSettings:

Method copy Make a deep copy of current settings.
Method copy​_to​_dict Make a copy of current settings and convert to a dict.
Method freeze Disable further changes to the current settings.
Method frozencopy Return an immutable copy of the current settings.
Method get Get a setting value without affecting its original type.
Method getbool Get a setting value as a boolean.
Method getdict No summary
Method getfloat Get a setting value as a float.
Method getint Get a setting value as an int.
Method getlist Get a setting value as a list. If the setting original type is a list, a copy of it will be returned. If it's a string it will be split by ",".
Method getpriority Return the current numerical priority value of a setting, or None if the given name does not exist.
Method getwithbase Get a composition of a dictionary-like setting and its _BASE counterpart.
Method maxpriority No summary
Method set Store a key/value attribute with a given priority.
Method setmodule Store settings from a module with a given priority.
Method update Store key/value pairs with a given priority.
Method __contains__ Undocumented
Method __delitem__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __setitem__ Undocumented
Method ​_assert​_mutability Undocumented
Method ​_repr​_pretty​_ Undocumented
Method ​_to​_dict Undocumented
Method delete Undocumented
Method setdict Undocumented
Instance Variable attributes Undocumented
Instance Variable frozen Undocumented
def __init__(self, values=None, priority='project'):

Undocumented