MCPcopy
hub / github.com/scrapy/scrapy / __init__

Method __init__

tests/test_addons.py:27–30  ·  view source on GitHub ↗
(self, crawler: Crawler)

Source from the content-addressed store, hash-verified

25
26class CreateInstanceAddon:
27 def __init__(self, crawler: Crawler) -> None:
28 super().__init__()
29 self.crawler = crawler
30 self.config = crawler.settings.getdict("MYADDON")
31
32 @classmethod
33 def from_crawler(cls, crawler: Crawler):

Callers

nothing calls this directly

Calls 1

getdictMethod · 0.80

Tested by

no test coverage detected