From 0be966802439f811cbcf5af488a842b3711dab5f Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Fri, 29 Oct 2021 00:16:55 -0700 Subject: [PATCH] add docs to pushshift config block --- my/reddit/pushshift.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/my/reddit/pushshift.py b/my/reddit/pushshift.py index b7a8277..e67db84 100644 --- a/my/reddit/pushshift.py +++ b/my/reddit/pushshift.py @@ -16,6 +16,11 @@ from my.config import reddit as uconfig @dataclass class pushshift_config(uconfig.pushshift): + ''' + Uses [[https://github.com/seanbreckenridge/pushshift_comment_export][pushshift]] to get access to old comments + ''' + + # path[s]/glob to the exported JSON data export_path: Paths config = make_config(pushshift_config) @@ -41,4 +46,3 @@ def stats() -> Stats: **stat(comments) } -