Skip to content

Commit

Permalink
remove docstring in write_to_stats() causing sphinx build to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed May 23, 2020
1 parent d4d3671 commit 1713944
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions itemloaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,15 +449,10 @@ def write_to_stats(
):
"""Responsible for logging the parser rules usage.
NOTES: It's hard to easily denote which parser rule hasn't produced any
data for the entire crawl, since ItemLoaders essentially don't know
when the spider is going to be closed, as well as it has many
instantiations all throughout the code.
The implementation below where each missing parsed_data is being logged
to the stat is clunky, but necessary. With this, we can only surmise
that it's safe to remove parser fallback parser if it's all just
'*/missing' in the stats.
'.../missing' in the stats.
"""

if not self.stats or not field_name:
Expand Down

0 comments on commit 1713944

Please sign in to comment.