Skip to content

Commit

Permalink
Sort asyncpraw.models.reddit.subreddit.ModeratorRelationship.invited …
Browse files Browse the repository at this point in the history
…arguments

(cherry picked from commit praw-dev/praw@d044032)
  • Loading branch information
LilSpazJoekp committed Oct 17, 2022
1 parent 9bc6fe4 commit 03ca828
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asyncpraw/models/reddit/subreddit.py
Expand Up @@ -3403,8 +3403,10 @@ async def invite(
url = API_PATH["friend"].format(subreddit=self.subreddit)
await self.subreddit._reddit.post(url, data=data)

@_deprecate_args("redditor")
def invited(
self,
*,
redditor: Optional[Union[str, "asyncpraw.models.Redditor"]] = None,
**generator_kwargs: Any,
) -> AsyncIterator["asyncpraw.models.Redditor"]:
Expand Down

0 comments on commit 03ca828

Please sign in to comment.