Ë
    [üàg‰  ã                   ó8   — d dl Z d dlZ G d„ de«      Zd„ Zdd„Zy)é    Nc                   ó   — e Zd ZdZy)ÚObsoleteExceptionz0Base class for warnings about obsolete features.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úR/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/twilio/base/obsolete.pyr   r      s   „ Ú:r
   r   c                 óB   ‡ — t        j                  ‰ «      ˆ fd„«       }|S )zšThis is a decorator which can be used to mark Client classes as
    obsolete. It will result in an error being emitted when the class is
    instantiated.c                  óL   •— t        dj                  ‰j                  «      «      ‚)Nzi{} has been removed from this version of the library. Please refer to current documentation for guidance.)r   Úformatr   )ÚargsÚkwargsÚfuncs     €r   Únew_funcz!obsolete_client.<locals>.new_func   s$   ø€ äðBßBHÁ&ÈÏÉÓBWó
ð 	
r
   ©Ú	functoolsÚwraps)r   r   s   ` r   Úobsolete_clientr   	   s'   ø€ ô
 ‡_�_�TÓó
ó ð
ð €Or
   c                 ó8   ‡ — ˆ fd„}t        ‰ «      r |‰ «      S |S )z²
    This is a decorator which can be used to mark deprecated methods.
    It will report in a DeprecationWarning being emitted to stderr when the deprecated method is used.
    c                 óF   •‡ — t        j                  ‰ «      ˆ ˆfd„«       }|S )Nc                  óÊ   •— dj                  ‰j                  «      }|t        ‰t        «      rdj                  ‰«      ndz  }t	        j
                  |t        «        ‰| i |¤ŽS )Nz#Function method .{}() is deprecatedz in favor of .{}()Ú )r   r   Ú
isinstanceÚstrÚwarningsÚwarnÚDeprecationWarning)r   r   Úmsgr   r   s      €€r   ÚwrapperzEdeprecated_method.<locals>.deprecated_method_wrapper.<locals>.wrapper   s_   ø€ à7×>Ñ>¸t¿}¹}ÓMˆCØä˜h¬Ô,ð %×+Ñ+¨HÔ5àñˆCô
 �M‰M˜#Ô1Ô2Ù˜Ð( Ñ(Ð(r
   r   )r   r!   r   s   ` €r   Údeprecated_method_wrapperz4deprecated_method.<locals>.deprecated_method_wrapper   s%   ù€ Ü	�‰˜Ó	ô	)ó 
ð	)ð ˆr
   )Úcallable)r   r"   s   ` r   Údeprecated_methodr$      s#   ø€ ôô �ÔÙ(¨Ó2Ð2à$Ð$r
   )N)r   r   Ú	Exceptionr   r   r$   r	   r
   r   ú<module>r&      s!   ðÛ Û ô;˜	ô ;òô%r
   