Skip to content

Commit

Permalink
Sort praw.models.reddit.subreddit.SubredditModerationStream.modqueue …
Browse files Browse the repository at this point in the history
…arguments
  • Loading branch information
LilSpazJoekp committed Feb 7, 2022
1 parent 93097d6 commit 92abf31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion praw/models/reddit/subreddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2828,8 +2828,9 @@ def modmail_conversations(
**stream_options,
)

@_deprecate_args("only")
def modqueue(
self, only: Optional[str] = None, **stream_options: Any
self, *, only: Optional[str] = None, **stream_options: Any
) -> Generator[Union["praw.models.Comment", "praw.models.Submission"], None, None]:
r"""Yield :class:`.Comment`\ s and :class:`.Submission`\ s in the modqueue as they become available.
Expand Down

0 comments on commit 92abf31

Please sign in to comment.