MCPcopy
hub / github.com/scrapy/scrapy / from_crawler

Method from_crawler

tests/test_feedexport.py:59–61  ·  view source on GitHub ↗
(cls, crawler, *args, feed_options=None, **kwargs)

Source from the content-addressed store, hash-verified

57
58 @classmethod
59 def from_crawler(cls, crawler, *args, feed_options=None, **kwargs):
60 cls.init_with_crawler = True
61 return cls(*args, **kwargs)
62
63
64class FromCrawlerCsvItemExporter(CsvItemExporter, FromCrawlerMixin):

Calls

no outgoing calls

Tested by

no test coverage detected