From 8f4e7406133a7b85156f2e7fe9eac6bea85f7e5d Mon Sep 17 00:00:00 2001 From: Yohanna Lisnichuk Date: Wed, 26 May 2021 13:04:33 -0400 Subject: [PATCH] databasestore extension flake8 Signed-off-by: Yohanna Lisnichuk --- kingfisher_scrapy/extensions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kingfisher_scrapy/extensions.py b/kingfisher_scrapy/extensions.py index 5599de0d..f74bee69 100644 --- a/kingfisher_scrapy/extensions.py +++ b/kingfisher_scrapy/extensions.py @@ -149,10 +149,10 @@ class DatabaseStore: the ``date`` field of the stored data (if any). If the user sets a ``from_date`` argument that argument will take precedence over the one from the database, unless the ``from_date`` is equal to the spider's ``default_from_date``, in which case the database ``date`` will be used (if any). - When the spider is closed, this extension: reads the data written by the FilesStore extension to the crawl directory - matching the ``crawl_time`` spider argument; creates compiled releases if the ``compile_releases`` spider argument - is set; and recreates the table with the data from the crawl directory. To incrementally update the data, the data - stored in the crawl directory must not be deleted. + When the spider is closed, this extension: reads the data written by the FilesStore extension to the crawl + directory matching the ``crawl_time`` spider argument; creates compiled releases if the ``compile_releases`` spider + argument is set; and recreates the table with the data from the crawl directory. To incrementally update the data, + the data stored in the crawl directory must not be deleted. This extension doesn't yet support spiders that return records without ``compiledRelease`` fields. """