Skip to content

Commit

Permalink
Sort praw.models.reddit.subreddit.Modmail.conversations arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jan 8, 2022
1 parent 2c11c5d commit 863d08d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion praw/models/reddit/subreddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -3273,8 +3273,10 @@ def bulk_read(
self(conversation_id) for conversation_id in response["conversation_ids"]
]

@_deprecate_args("after", "other_subreddits", "sort", "state")
def conversations(
self,
*,
after: Optional[str] = None,
other_subreddits: Optional[List["praw.models.Subreddit"]] = None,
sort: Optional[str] = None,
Expand All @@ -3284,7 +3286,7 @@ def conversations(
"""Generate :class:`.ModmailConversation` objects for subreddit(s).
:param after: A base36 modmail conversation id. When provided, the listing
begins after this conversation (default: None).
begins after this conversation (default: ``None``).
.. deprecated:: 7.4.0
Expand Down

0 comments on commit 863d08d

Please sign in to comment.