
    {iD                    @    S r SSKJr  SSKJr  SSKJr   " S S5      rg)	zProvide the SavableMixin class.    )annotations   )API_PATH)_deprecate_argsc                  F    \ rS rSrSr\" S5      SS.S	S jj5       rS rSrg)
SavableMixin	   z=Interface for :class:`.RedditBase` classes that can be saved.categoryN)r
   c               ^    U R                   R                  [        S   XR                  S.S9  g)a  Save the object.

:param category: The category to save to. If the authenticated user does not
    have Reddit Premium this value is ignored by Reddit (default: ``None``).

Example usage:

.. code-block:: python

    submission = reddit.submission("5or86n")
    submission.save(category="view later")

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

.. seealso::

    :meth:`.unsave`

save)r
   iddataN_redditpostr   fullname)selfr
   s     [/home/james-whalen/.local/lib/python3.13/site-packages/praw/models/reddit/mixins/savable.pyr   SavableMixin.save   s,    , 	V#N 	 	
    c                ^    U R                   R                  [        S   SU R                  0S9  g)zUnsave the object.

Example usage:

.. code-block:: python

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

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

.. seealso::

    :meth:`.save`

unsaver   r   Nr   )r   s    r   r   SavableMixin.unsave&   s)    $ 	(8,D$--3HIr    )r
   z
str | None)	__name__
__module____qualname____firstlineno____doc__r   r   r   __static_attributes__r   r   r   r   r   	   s%    GZ -1 
 !
2Jr   r   N)r    
__future__r   constr   utilr   r   r   r   r   <module>r%      s    % "  $/J /Jr   