MCPcopy
hub / github.com/scrapy/scrapy / inc_stats

Method inc_stats

scrapy/pipelines/files.py:684–687  ·  view source on GitHub ↗
(self, status: str)

Source from the content-addressed store, hash-verified

682 }
683
684 def inc_stats(self, status: str) -> None:
685 assert self.crawler.stats
686 self.crawler.stats.inc_value("file_count")
687 self.crawler.stats.inc_value(f"file_status_count/{status}")
688
689 async def _file_downloaded(
690 self,

Callers 2

_onsuccessMethod · 0.95
media_downloadedMethod · 0.95

Calls 1

inc_valueMethod · 0.45

Tested by

no test coverage detected