Closed computerologist closed 1 year ago
Muted relationships do not have notes (technically they do but they are only retuned in html response on the website). As far as I know only banned and wikibanned have has that attribute (which is why code shows banned).
For the doc example, it is iterating through banned and those do have note attributes.
Ack, sorry, wrong link.
That one shows the code above.
@LilSpazJoekp dunno if you see updates after you close an issue
Ah yep that should be fixed. Do you want to open an PR to fix this?
Describe the Bug
Errors when example code is executed.
Docs here: https://praw.readthedocs.io/en/stable/code_overview/other/subredditrelationship.html#praw.models.reddit.subreddit.SubredditRelationship
Desired Result
Change the docs?
Relevant Logs
Code to reproduce the bug
My code example does not include the
Reddit()
initialization to prevent credential leakage.Yes
This code has previously worked as intended.
Yes
Operating System/Environment
windoze
Python Version
python 3.9.1
PRAW Version
7.4.0
Prawcore Version
2.3.0
Anything else?
Docs here: https://praw.readthedocs.io/en/stable/code_overview/other/subredditrelationship.html#praw.models.reddit.subreddit.SubredditRelationship