PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/hc_python/lib/python3.12/site-packages/pydantic/__pycache__/
Upload File :
Current File : //opt/hc_python/lib/python3.12/site-packages/pydantic/__pycache__/warnings.cpython-312.pyc

�

���g�
���dZddlmZddlmZdZGd�de�ZGd�d	e�Z	Gd
�de�Z
Gd�d
e�ZGd�de�Z
y)zPydantic-specific warnings.�)�annotations�)�
version_short)�PydanticDeprecatedSince20�PydanticDeprecationWarning�PydanticDeprecatedSince26�PydanticExperimentalWarningc�d��eZdZUdZded<ded<ded<dd�									d�fd	�Zdd
�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)rc���t�|�|g|���|jd�|_||_|�||_y|ddzdf|_y)N�.rr)�super�__init__�rstriprrr)�selfrrr�args�	__class__s     ��@/opt/hc_python/lib/python3.12/site-packages/pydantic/warnings.pyrz#PydanticDeprecationWarning.__init__sV���	����(�4�(��~�~�c�*�����
�4D�4P� 0���W\�]^�W_�bc�Wc�ef�Vg���c
���|j�d|jd�d|jd�d|jd�d|jd�d�
}|jdk(r|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rrr)rrs  r�__str__z"PydanticDeprecationWarning.__str__'s����|�|�n�6�t�z�z�!�}�o�Q�t�z�z�RS�}�o�!�$�"7�"7��":�!;�1�T�=R�=R�ST�=U�<V�VW�
Y�	��:�:����Y�Zg�Zi�Yj�ju�v�v�G��r)
rrr�objectrr
rztuple[int, int] | None�return�None)rr)�__name__�
__module__�__qualname__�__doc__�__annotations__rr�
__classcell__�rs@rrrsZ���	��L���%�%�os�h��h�#)�h�2A�h�Uk�h�	
�h�rrc�$��eZdZdZd�fd�Z�xZS)rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.0.c�.��t�|�|g|��ddd��y�Nr)�r)rr�rr�rrrrs   �rrz"PydanticDeprecatedSince20.__init__4����
����O�4�O�v��Or�rrrrrr �r!r"r#r$rr&r's@rrr1����p�P�Prrc�$��eZdZdZd�fd�Z�xZS)rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.6.c�.��t�|�|g|��ddd��yr*r,r-s   �rrz"PydanticDeprecatedSince26.__init__;r.rr/r0r's@rrr8r1rrc��eZdZy)�GenericBeforeBaseModelWarningN)r!r"r#�rrr5r5?s��rr5c��eZdZdZy)r	z�A Pydantic specific experimental functionality warning.

    This warning is raised when using experimental functionality in Pydantic.
    It is raised to warn users that the functionality may change or be removed in future versions of Pydantic.
    N)r!r"r#r$r6rrr	r	Cs��rr	N)r$�
__future__r�_annotations�versionr�__all__�DeprecationWarningrrr�Warningr5r	r6rr�<module>r>sY��!�2�"����!3��DP� :�P�P� :�P�	�G�	��'�r

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic