From a978447f233c4d284bb0817565f897a447f6534d Mon Sep 17 00:00:00 2001 From: John Hawkinson Date: Thu, 17 May 2018 21:18:13 -0400 Subject: [PATCH] rss_feeds.py: data() docstring Attempt to explain why we override this function. I...actually don't understand why we do, so this explanation may be wrong. It seems like we could have fit within the BaseDocketReport framework of returning our information as `docket_entries` rather than `data` but maybe I'm missing something. --- juriscraper/pacer/rss_feeds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/juriscraper/pacer/rss_feeds.py b/juriscraper/pacer/rss_feeds.py index f7124cc25..ae6471727 100644 --- a/juriscraper/pacer/rss_feeds.py +++ b/juriscraper/pacer/rss_feeds.py @@ -98,8 +98,8 @@ def _parse_text(self, text): @property def data(self): - """Override this to create a list of docket-like objects instead of the - usual dict that is usually provided by the docket report. + """Return a list of docket-like objects instead of the usual dict that + is usually provided by the BaseDocketReport superclass. """ if self._data is not None: return self._data