MCPcopy
hub / github.com/scrapy/scrapy / update_settings

Method update_settings

scrapy/spiders/__init__.py:150–151  ·  view source on GitHub ↗
(cls, settings: BaseSettings)

Source from the content-addressed store, hash-verified

148
149 @classmethod
150 def update_settings(cls, settings: BaseSettings) -> None:
151 settings.setdict(cls.custom_settings or {}, priority="spider")
152
153 @classmethod
154 def handles_request(cls, request: Request) -> bool:

Callers 2

load_settingsMethod · 0.45
__init__Method · 0.45

Calls 1

setdictMethod · 0.80

Tested by

no test coverage detected