
    {i                    R    S r SSKJr  SSKJrJrJr  \(       a  SSKr " S S5      r	g)zProvide the ModNoteMixin class.    )annotations)TYPE_CHECKINGAny	GeneratorNc                  J    \ rS rSrSr    SS jrSS.       S	S jjrSrg)
ModNoteMixin   zAInterface for classes that can have a moderator note set on them.c                    U R                   R                  R                  R                  R                  " U R                   R
                  40 UD6$ )a  Get the moderator notes for the author of this object in the subreddit it's posted in.

:param generator_kwargs: Additional keyword arguments are passed in the
    initialization of the moderator note generator.

:returns: A generator of :class:`.ModNote`.

For example, to list all notes the author of a submission, try:

.. code-block:: python

    for note in reddit.submission("92dd8").mod.author_notes():
        print(f"{note.label}: {note.note}")

)thing	subredditmodnotes	redditorsauthor)selfgenerator_kwargss     [/home/james-whalen/.local/lib/python3.13/site-packages/praw/models/reddit/mixins/modnote.pyauthor_notesModNoteMixin.author_notes   sB    $ zz##''--77JJ
!1
 	
    N)labelc                   U R                   R                  R                  R                  R                  " SXU R                   S.UD6$ )a  Create a moderator note on the author of this object in the subreddit it's posted in.

:param label: The label for the note. As of this writing, this can be one of the
    following: ``"ABUSE_WARNING"``, ``"BAN"``, ``"BOT_BAN"``,
    ``"HELPFUL_USER"``, ``"PERMA_BAN"``, ``"SOLID_CONTRIBUTOR"``,
    ``"SPAM_WARNING"``, ``"SPAM_WATCH"``, or ``None`` (default: ``None``).
:param note: The content of the note. As of this writing, this is limited to 250
    characters.
:param other_settings: Additional keyword arguments are passed to
    :meth:`~.BaseModNotes.create`.

:returns: The new :class:`.ModNote` object.

For example, to create a note on a :class:`.Submission`, try:

.. code-block:: python

    reddit.submission("92dd8").mod.create_note(label="HELPFUL_USER", note="Test note")

)r   noter    )r   r   r   r   create)r   r   r   other_settingss       r   create_noteModNoteMixin.create_note$   sC    . zz##''--44 
$**
8F
 	
r   r   )r   r   returnz*Generator[praw.models.ModNote, None, None])r   z
str | Noner   strr   r   r   zpraw.models.ModNote)__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__r   r   r   r   r      sI    K
"%
	3
. &*
"
14
HK
	
 
r   r   )
r%   
__future__r   typingr   r   r   praw.modelsprawr   r   r   r   <module>r+      s!    % " 0 02
 2
r   