Ë
    …jÐjŒ  ã                   óL   — d Z ddlmZ ddlmZmZmZmZ erddlZ G d„ d«      Z	y)z Provide the PRAWBase superclass.é    )Údeepcopy)ÚTYPE_CHECKINGÚAnyÚDictÚOptionalNc                   óh   — e Zd ZdZed„ «       Zedeee	f   ddde	fd„«       Z
dddeeee	f      fd	„Zy
)ÚPRAWBasez"Superclass for all models in PRAW.c                 óX   — || v rt        | |   «      ni }|j                  |«       || |<   y)a*  Replace arguments[key] with a deepcopy and update.

        This method is often called when new parameters need to be added to a request.
        By calling this method and adding the new or updated parameters we can insure we
        don't modify the dictionary passed in by the caller.

        N)r   Úupdate)Ú	argumentsÚkeyÚnew_argumentsÚvalues       úŠ/var/labsstorage/home/Thilakkumar/htdocs/soical-media-automation/automation_platform/venv/lib/python3.12/site-packages/praw/models/base.pyÚ_safely_add_argumentszPRAWBase._safely_add_arguments   s0   € ð -0°9Ñ,<”˜ 3™Ô(À"ˆØ�‰�]Ô#Øˆ	�#Šó    ÚdataÚredditzpraw.RedditÚreturnc                 ó   —  | ||¬«      S )z™Return an instance of ``cls`` from ``data``.

        :param data: The structured data.
        :param reddit: An instance of :class:`.Reddit`.

        )Ú_data© )Úclsr   r   s      r   ÚparsezPRAWBase.parse   s   € ñ �6 Ô&Ð&r   r   c                 ób   — || _         |r&|j                  «       D ]  \  }}t        | ||«       Œ yy)zlInitialize a :class:`.PRAWBase` instance.

        :param reddit: An instance of :class:`.Reddit`.

        N)Ú_redditÚitemsÚsetattr)Úselfr   r   Ú	attributer   s        r   Ú__init__zPRAWBase.__init__#   s9   € ð ˆŒÙØ$)§K¡K£Mò 0Ñ �	˜5Ü˜˜i¨Õ/ñ0ð r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   Úclassmethodr   Ústrr   r   r   r!   r   r   r   r	   r	   	   sh   „ Ù,àñ
ó ð
ð ð'˜˜c 3˜h™ð '°ð 'À3ò 'ó ð'ð	0˜}ð 	0°X¸dÀ3ÈÀ8¹nÑ5Mô 	0r   r	   )
r%   Úcopyr   Útypingr   r   r   r   Úprawr	   r   r   r   ú<module>r,      s!   ðÙ &Ý ß 5Ó 5áÛ÷#0ò #0r   