AlkantarClanX12

Your IP : 18.118.154.237


Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pydantic/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pydantic/__pycache__/warnings.cpython-311.pyc

�

X��e���^�dZddlmZddlmZdZGd�de��ZGd�d	e��Z	d
S)zPydantic-specific warnings.�)�annotations�)�
version_short)�PydanticDeprecatedSince20�PydanticDeprecationWarningc�R��eZdZUdZded<ded<ded<dd�d�fd�Zdd�Z�xZS)raA Pydantic specific deprecation warning.

    This warning is raised when using deprecated functionality in Pydantic. It provides information on when the
    deprecation was introduced and the expected version in which the corresponding functionality will be removed.

    Attributes:
        message: Description of the warning.
        since: Pydantic version in what the deprecation was introduced.
        expected_removal: Pydantic version in what the corresponding functionality expected to be removed.
    �str�message�tuple[int, int]�since�expected_removalN)r
�args�object�tuple[int, int] | None�return�Nonec���t��j|g|�R�|�d��|_||_|�|n|ddzdf|_dS)N�.rr)�super�__init__�rstripr
rr
)�selfr
rr
r�	__class__s     ��F/opt/cloudlinux/venv/lib/python3.11/site-packages/pydantic/warnings.pyrz#PydanticDeprecationWarning.__init__sj���	������(�4�(�(�(�(��~�~�c�*�*�����
�4D�4P� 0� 0�W\�]^�W_�bc�Wc�ef�Vg�����c
���|j�d|jd�d|jd�d|jd�d|jd�d�
}|jdkr|dt���d�z
}|S)	Nz. Deprecated in Pydantic Vrrrz to be removed in V��rz@ See Pydantic V2 Migration Guide at https://errors.pydantic.dev/z/migration/)r
rr
r)rr
s  r�__str__z"PydanticDeprecationWarning.__str__!s����|�
Y�
Y�t�z�!�}�
Y�
Y�t�z�RS�}�
Y�
Y�"&�"7��":�
Y�
Y�=A�=R�ST�=U�
Y�
Y�
Y�	��:�����v�Zg�Zi�Zi�v�v�v�v�G��r)
r
r	rrrrr
rrr)rr	)�__name__�
__module__�__qualname__�__doc__�__annotations__rr�
__classcell__�rs@rrr	s���������	�	��L�L�L�����%�%�%�%�os�h�h�h�h�h�h�h�h��������rrc�$��eZdZdZd	�fd�Z�xZS)
rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.0.r
r	rrrrc�D��t��j|g|�Rddd��dS)Nr)�r)rr
)rr)rr
rrs   �rrz"PydanticDeprecatedSince20.__init__.s2���������O�4�O�O�v��O�O�O�O�O�Or)r
r	rrrr)r r!r"r#rr%r&s@rrr+sM�������p�p�P�P�P�P�P�P�P�P�P�PrrN)
r#�
__future__r�_annotations�versionr�__all__�DeprecationWarningrr�rr�<module>r0s���!�!�2�2�2�2�2�2�"�"�"�"�"�"�
C�������!3����DP�P�P�P�P� :�P�P�P�P�Pr