� g\�g ����dZddlmZddlmZdZGd�de��ZGd�d e��Z Gd �d e��Z Gd �d e��Z Gd�de��Z Gd�de ��ZGd�de ��ZdS)zPydantic-specific warnings.�)� annotations�)� version_short)�PydanticDeprecatedSince20�PydanticDeprecationWarning�PydanticDeprecatedSince26�PydanticExperimentalWarningc�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 rr)�selfr rrr� __class__s ��a/home/asafur/pinokio/api/open-webui.git/app/env/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 rrr)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 rrrr rrrr)rr )�__name__� __module__� __qualname__�__doc__�__annotations__rr!� __classcell__�rs@rrrs��������� � ��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�rr�rr�rr rrs �rrz"PydanticDeprecatedSince20.__init__4�2���������O�4�O�O�v��O�O�O�O�O�Or�r r rrrr�r"r#r$r%rr'r(s@rrr1�M�������p�p�P�P�P�P�P�P�P�P�P�Prrc�$��eZdZdZd �fd� Z�xZS) rzfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.6.r r rrrrc�D��t��j|g|�Rddd��dS)N)r �r+r-r.r/s �rrz"PydanticDeprecatedSince26.__init__;r0rr1r2r(s@rrr8r3rrc�$��eZdZdZd �fd� Z�xZS) �PydanticDeprecatedSince29zfA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.9.r r rrrrc�D��t��j|g|�Rddd��dS)N)r � r+r-r.r/s �rrz"PydanticDeprecatedSince29.__init__Br0rr1r2r(s@rr8r8?r3rr8c�$��eZdZdZd �fd� Z�xZS) �PydanticDeprecatedSince210zgA specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.10.r r rrrrc�D��t��j|g|�Rddd��dS)N)r � r+r-r.r/s �rrz#PydanticDeprecatedSince210.__init__Is2���������P�4�P�P�w��P�P�P�P�P�Prr1r2r(s@rr<r<FsM�������q�q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Qrr<c��eZdZdS)�GenericBeforeBaseModelWarningN)r"r#r$�rrr@r@Ms�������Drr@c��eZdZdZdS)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%rArrr r Qs���������rr N)r%� __future__r� _annotations�versionr�__all__�DeprecationWarningrrrr8r<�Warningr@r rArr�<module>rIs���!�!�2�2�2�2�2�2�"�"�"�"�"�"� �������!3����DP�P�P�P�P� :�P�P�P�P�P�P�P�P� :�P�P�P�P�P�P�P�P� :�P�P�P�Q�Q�Q�Q�Q�!;�Q�Q�Q� � � � � �G� � � ������'�����r
Memory