MCPcopy Index your code
hub / github.com/praw-dev/praw / _notes

Method _notes

praw/models/mod_notes.py:79–92  ·  view source on GitHub ↗
(
        self,
        *,
        all_notes: bool,
        redditors: list[Redditor | str],
        subreddits: list[Subreddit | str],
        **generator_kwargs: Any,
    )

Source from the content-addressed store, hash-verified

77 return value
78
79 def _notes(
80 self,
81 *,
82 all_notes: bool,
83 redditors: list[Redditor | str],
84 subreddits: list[Subreddit | str],
85 **generator_kwargs: Any,
86 ) -> Iterator[models.ModNote]:
87 if all_notes:
88 for subreddit in subreddits:
89 for redditor in redditors:
90 yield from self._all_generator(redditor, subreddit, **generator_kwargs)
91 else:
92 yield from self._bulk_generator(redditors, subreddits)
93
94 def create(
95 self,

Callers 5

deleteMethod · 0.95
__call__Method · 0.80
thingsMethod · 0.80
subredditsMethod · 0.80
redditorsMethod · 0.80

Calls 2

_all_generatorMethod · 0.95
_bulk_generatorMethod · 0.95

Tested by

no test coverage detected