Skip to content

Commit

Permalink
databasestore extension flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Yohanna Lisnichuk <yohanitalisnichuk@gmail.com>
  • Loading branch information
yolile committed May 26, 2021
1 parent c3cc1e5 commit 8f4e740
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kingfisher_scrapy/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 8f4e740

Please sign in to comment.