MCPcopy
hub / github.com/scrapy/scrapy / store

Method store

scrapy/extensions/feedexport.py:132–133  ·  view source on GitHub ↗
(self, file: IO[bytes])

Source from the content-addressed store, hash-verified

130 return NamedTemporaryFile(prefix="feed-", dir=path)
131
132 def store(self, file: IO[bytes]) -> Deferred[None] | None:
133 return deferred_from_coro(run_in_thread(self._store_in_thread, file))
134
135 @abstractmethod
136 def _store_in_thread(self, file: IO[bytes]) -> None:

Callers

nothing calls this directly

Calls 2

deferred_from_coroFunction · 0.90
run_in_threadFunction · 0.90

Tested by

no test coverage detected