opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pydantic
/
deprecated
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
172 bytes
Rename
Delete
class_validators.cpython-312.pyc
11.47 KB
Rename
Delete
config.cpython-312.pyc
3.95 KB
Rename
Delete
copy_internals.cpython-312.pyc
8.47 KB
Rename
Delete
decorator.cpython-312.pyc
13.68 KB
Rename
Delete
json.cpython-312.pyc
5.95 KB
Rename
Delete
parse.cpython-312.pyc
3.30 KB
Rename
Delete
tools.cpython-312.pyc
3.44 KB
Rename
Delete
� ,��gg � �� � d dl mZ d dlZd dlmZmZ d dlmZm Z ddl mZ ddlmZ eseZ dZ G d � d e� Z e de�� G d � de�� � Z G d� de� Z e de�� G d� de�� � Zy)� )�annotationsN)� TYPE_CHECKING�Any)�Literal� deprecated� )�_config)�PydanticDeprecatedSince20)� BaseConfig�Extrac � � e Zd Zdd�Zy)�_ConfigMetaclassc �� � t j | }t j t j t � |S # t $ r!}t d| j � d|� �� |�d }~ww xY w)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 � � r r r s � �cr$ r z@BaseConfig is deprecated. Use the `pydantic.ConfigDict` instead.)�categoryc �0 � � e Zd ZdZd� fd�Zd� fd�Z� xZS )r z�This class is only retained for backwards compatibility. !!! Warning "Deprecated" BaseConfig is deprecated. Use the [`pydantic.ConfigDict`][pydantic.ConfigDict] instead. c � �� t �| � |� }t j t j t � |S # t $ rB} t t | � |� cY d }~S # t $ r t t |� � |�w xY wd }~ww xY w)N)�super�__getattribute__r r r r r r �getattr�typer )r r r r � __class__s �r r zBaseConfig.__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'