PK APOCALYPSE V1

APOCALYPSE V1

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

�

���gg
����ddlmZddlZddlmZmZddlmZm	Z	ddl
mZddlmZeseZ
dZGd	�d
e�Ze	de��Gd
�de���ZGd�de�Ze	de��Gd�de���Zy)�)�annotationsN)�
TYPE_CHECKING�Any)�Literal�
deprecated�)�_config)�PydanticDeprecatedSince20)�
BaseConfig�Extrac��eZdZdd�Zy)�_ConfigMetaclassc���	tj|}tjtjt
�|S#t$r!}td|j�d|���|�d}~wwxYw)Nz
type object 'z' has no attribute )	r	�config_defaults�warnings�warn�DEPRECATION_MESSAGE�DeprecationWarning�KeyError�AttributeError�__name__)�self�item�obj�excs    �I/opt/hc_python/lib/python3.12/site-packages/pydantic/deprecated/config.py�__getattr__z_ConfigMetaclass.__getattr__sf��	c��)�)�$�/�C��M�M�'�5�5�7I�J��J���	c� �=�����?R�SV�RW�!X�Y�_b�b��	c�s�<?�	A)�A$�$A)N�r�str�returnr)r�
__module__�__qualname__r��rrrs��cr$rz@BaseConfig is deprecated. Use the `pydantic.ConfigDict` instead.)�categoryc�0��eZdZdZd�fd�Zd�fd�Z�xZS)rz�This class is only retained for backwards compatibility.

    !!! Warning "Deprecated"
        BaseConfig is deprecated. Use the [`pydantic.ConfigDict`][pydantic.ConfigDict] instead.
    c���	t�|�|�}tjtj
t�|S#t$rB}	tt|�|�cYd}~S#t$rtt|��|�wxYwd}~wwxYw)N)�super�__getattribute__rrr	rrr�getattr�typer)rrrr�	__class__s    �rrzBaseConfig.__getattr__%sv���		8��'�*�4�0�C��M�M�'�5�5�7I�J��J���	8�
8��t�D�z�4�0�0��!�
8�$�S��X�.�C�7�
8��	8�s'�8<�	B�A �B� A?�?B�Bc�r��tjtjt�t�|�di|��S)Nr#)rrr	rrr(�__init_subclass__)�cls�kwargsr,s  �rr.zBaseConfig.__init_subclass__1s+����
�
�g�1�1�3E�F��w�(�2�6�2�2r$r)r0rr �None)rr!r"�__doc__rr.�
__classcell__�r,s@rrrs����
8�3�3r$r)�	metaclassc� ��eZdZd�fd�Z�xZS)�
_ExtraMetac�b��|dvrtjdtd��t�|�|�S)N>�allow�forbid�ignorezX`pydantic.config.Extra` is deprecated, use literal values instead (e.g. `extra='allow'`)r)�
stacklevel)rrrr(r))r�_ExtraMeta__namer,s  �rr)z_ExtraMeta.__getattribute__7s3����2�2��M�M�j�"��
�
�w�'��/�/r$)r=rr r)rr!r"r)r3r4s@rr7r76s
���0�0r$r7zFExtra is deprecated. Use literal values instead (e.g. `extra='allow'`)c�8�eZdZUdZded<dZded<dZded<y)rr9zLiteral['allow']r;zLiteral['ignore']r:zLiteral['forbid']N)rr!r"r9�__annotations__r;r:r#r$rrrBs%��&�E��%� (�F��(� (�F��(r$r)�
__future__r�_annotationsr�typingrr�typing_extensionsrr�	_internalr	r
r�__all__r+rrr7rr#r$r�<module>rFs���2��%�1��0��3��
��c�t�c��N�Yr�s�3�+�3�t�3�0	0��	0��L�Wp��)�j�)��)r$

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