
    {iL
                    4    S r SSKJr  SSKJr   " S S5      rg)zProvide the VotableMixin class.    )annotations   )API_PATHc                  4    \ rS rSrSrS	S jrS rS rS rSr	g)
VotableMixin   z@Interface for :class:`.RedditBase` classes that can be voted on.c                r    U R                   R                  [        S   [        U5      U R                  S.S9  g )Nvote)dirid)data)_redditpostr   strfullname)self	directions     [/home/james-whalen/.local/lib/python3.13/site-packages/praw/models/reddit/mixins/votable.py_voteVotableMixin._vote   s0    V3y>#O 	 	
    c                "    U R                  SS9  g)a=  Clear the authenticated user's vote on the object.

.. note::

    Votes must be cast by humans. That is, API clients proxying a human's action
    one-for-one are OK, but bots deciding how to vote on content or amplifying a
    human's vote are not. See the reddit rules for more details on what
    constitutes vote manipulation. [`Ref
    <https://www.reddit.com/dev/api#POST_api_vote>`_]

Example usage:

.. code-block:: python

    submission = reddit.submission("5or86n")
    submission.clear_vote()

    comment = reddit.comment("dxolpyc")
    comment.clear_vote()

r   r   Nr   r   s    r   
clear_voteVotableMixin.clear_vote   s    , 	

Q
r   c                "    U R                  SS9  g)a>  Downvote the object.

.. note::

    Votes must be cast by humans. That is, API clients proxying a human's action
    one-for-one are OK, but bots deciding how to vote on content or amplifying a
    human's vote are not. See the reddit rules for more details on what
    constitutes vote manipulation. [`Ref
    <https://www.reddit.com/dev/api#POST_api_vote>`_]

Example usage:

.. code-block:: python

    submission = reddit.submission("5or86n")
    submission.downvote()

    comment = reddit.comment("dxolpyc")
    comment.downvote()

.. seealso::

    :meth:`.upvote`

r   Nr   r   s    r   downvoteVotableMixin.downvote(   s    4 	

R
 r   c                "    U R                  SS9  g)a:  Upvote the object.

.. note::

    Votes must be cast by humans. That is, API clients proxying a human's action
    one-for-one are OK, but bots deciding how to vote on content or amplifying a
    human's vote are not. See the reddit rules for more details on what
    constitutes vote manipulation. [`Ref
    <https://www.reddit.com/dev/api#POST_api_vote>`_]

Example usage:

.. code-block:: python

    submission = reddit.submission("5or86n")
    submission.upvote()

    comment = reddit.comment("dxolpyc")
    comment.upvote()

.. seealso::

    :meth:`.downvote`

   r   Nr   r   s    r   upvoteVotableMixin.upvoteD   s    4 	

Q
r    N)r   int)
__name__
__module____qualname____firstlineno____doc__r   r   r    r$   __static_attributes__r&   r   r   r   r      s    J

 0!8 r   r   N)r,   
__future__r   constr   r   r&   r   r   <module>r0      s    % " V  V r   