HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberPanel/lib/python3.10/site-packages/pydantic/__pycache__/warnings.cpython-310.pyc
o

��h��@s�dZddlmZddlmZdZGdd�de�ZGdd	�d	e�Z	Gd
d�de�Z
Gdd
�d
e�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZdS)zPydantic-specific warnings.�)�annotations�)�
version_short)�PydanticDeprecatedSince20�PydanticDeprecatedSince26�PydanticDeprecatedSince29�PydanticDeprecatedSince210�PydanticDeprecatedSince211�PydanticDeprecationWarning�PydanticExperimentalWarningcsLeZdZUdZded<ded<ded<dd�d�fdd�Zddd�Z�ZS)r
aA 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�NonecsNt�j|g|�R�|�d�|_||_|dur||_dS|dddf|_dS)N�.rr)�super�__init__�rstripr
rr)�selfr
rrr��	__class__��G/usr/local/CyberPanel/lib/python3.10/site-packages/pydantic/warnings.pyr"s(z#PydanticDeprecationWarning.__init__c
Cs\|j�d|jd�d|jd�d|jd�d|jd�d�
}|jdkr,|dt��d�7}|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
rrr�__str__*s ���
z"PydanticDeprecationWarning.__str__)
r
rrrrrrrrr)rr)�__name__�
__module__�__qualname__�__doc__�__annotations__rr!�
__classcell__rrrrr
s
�r
c�"eZdZdZd
�fdd	�Z�ZS)rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.0.r
rrrrrc� t�j|g|�Rddd��dS)Nr��r�rr�rr�rr
rrrrr7� z"PydanticDeprecatedSince20.__init__�r
rrrrr�r"r#r$r%rr'rrrrr4�rcr()rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.6.r
rrrrrcr))N)r �r*r,r-r.rrrr>r/z"PydanticDeprecatedSince26.__init__r0r1rrrrr;r2rcr()rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.9.r
rrrrrcr))N)r �	r*r,r-r.rrrrEr/z"PydanticDeprecatedSince29.__init__r0r1rrrrrBr2rcr()rzgA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.10.r
rrrrrcr))N)r �
r*r,r-r.rrrrLr/z#PydanticDeprecatedSince210.__init__r0r1rrrrrIr2rcr()r	zgA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.11.r
rrrrrcr))N)r �r*r,r-r.rrrrSr/z#PydanticDeprecatedSince211.__init__r0r1rrrrr	Pr2r	c@seZdZdS)�GenericBeforeBaseModelWarningN)r"r#r$rrrrr7Wsr7c@seZdZdZdS)rz�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%rrrrr[srN)r%�
__future__r�_annotations�versionr�__all__�DeprecationWarningr
rrrrr	�Warningr7rrrrr�<module>s"