class asyncpraw.models.listing.mixins.subreddit.CommentHelper(subreddit: asyncpraw.models.Subreddit)

Provide a set of functions to interact with a subreddit’s comments.

__call__(**generator_kwargs: Union[str, int, Dict[str, str]]) AsyncIterator[asyncpraw.models.Comment]

Return a ListingGenerator for the Subreddit’s comments.

Additional keyword arguments are passed in the initialization of ListingGenerator.

This method should be used in a way similar to the example below:

subreddit = await reddit.subreddit("redditdev")
async for comment in subreddit.comments(limit=25):
__init__(subreddit: asyncpraw.models.Subreddit)

Initialize a CommentHelper instance.

classmethod parse(data: Dict[str, Any], reddit: asyncpraw.Reddit) Any

Return an instance of cls from data.

  • data – The structured data.

  • reddit – An instance of Reddit.