purarue

Results 108 comments of purarue

> X is a function which adds some defensive behavior, something like: Recently created an `all.py` for `my.location`, leaving it [here as reference](https://github.com/seanbreckenridge/HPI/commit/f2b3d74bc78f1ce359b7d30a7d47dc885ddd9d3f#diff-cd6f051b7d3af3a495d157f0b8832c1a7d0745fcb1b7c028584044ce7be1ed84) To keep this more mypy-friendly, I ended...

Just as an update, Will probably attempt to merge a PR using an `all.py` file to merge ghexport and pushshift comments w/ some `core.warnings` if either arent configured unless you've...

Hmm, regarding ``` class reddit: class pushshift: export_path: Paths class rexport: export_path: Paths ``` `make_config` doesnt work well with nested classes, am sort of stuck here Was trying to localize...

similar problem described in [the location issue](https://github.com/karlicoss/HPI/issues/154) I raised a while back -- essentially 'where does the configuration for each module live?' I may be repeating points already said above...

agh. [seems like pushshift is going through a bit of a restructure](https://twitter.com/jasonbaumgartne/status/1364759404554371080) to improve their API/has been down a bit recently (i.e. now when I'm testing) going to remind myself...

> my.reddit.rexport: will have most of the code from current reddit.py? but instead of uconfig, inherit uconfig.reddit (with some compat code for older config format) ahh... for some reason I...

The nested config reminds me a bit of a nested JSON/YAML like object, which is typically used for configuration anyways, so it works well in that sense. Also, another random...

Also worth mentioning that this seems to exist now: https://www.reddit.com/settings/data-request seems pretty complete, may be able to use that instead of pushshift, unsure on the amount of data in each,...

Been trying to come up with common protocol across rexport and the GDPR export, but the data is quite different: For example, saves look something like this in a CSV...

Will leave this open for now, since `my.reddit.gdpr` is yet to be written, but a good chunk of this has been added in #179