v0.4.5-alpha
Pre-release
Pre-release
Update Log
Listings:
- Create
class ListingGenerator
with__aiter__
and async__anext__
methods to perform requests in the container. - Update
class Listing
to supportclass Message
. - Implement
@Streamable.streamable
decorator that makes (a)sync functions returning iterables or generators streamable.
Inbox:
- Implement
class Message
for inbox messages. - Implement
AuthenticatedUser.inbox()
,sent()
andunread()
listing generators.
Item Creation:
- Implement
Subreddit.submit()
and addenum SubmissionKind
(Thanks @SpyrosRoum!) - Create
Replyable
mixin used byclass Comment
,class Submission
,class Message
.
Other:
aPRAWBase.fullname
auto-property returns ID if kind is unknown.- Optimize imports by importing
API_PATH
fromconst.py
. class Comment
only sets URL ifpermalink
present indata
.- Use raw docstrings in cases where "**" escape sequence is used.
- Make
Submission.morechildren()
async generator. - Read
praw.ini
file intelligently (Thanks @H4CKY54CK!)
Tests:
- Update listing tests.
- Add
test_submission_reply
. - Add
test_subreddit_submit
(Thanks @SpyrosRoum!) andtest_subreddit_random
. - Add
test_user_inbox
,test_user_unread
,test_user_sent
. - Add
test_streamable
unit tests.
Documentation:
- Add
SubredditWiki
documentation page. - Add
Streamable
documentation page.