관리-도구
편집 파일: config.cpython-311.pyc
� ���e4 � � � 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�� � � � ZdS )� )�annotationsN)� TYPE_CHECKING�Any)�Literal� deprecated� )�_config)�PydanticDeprecatedSince20)� BaseConfig�Extrac � � e Zd Zdd�ZdS )�_ConfigMetaclass�item�str�returnr c �� � t j t j t � � t j | S # t $ r }t d| j � d|� �� � |�d }~ww xY w)Nz type object 'z' has no attribute ) �warnings�warnr �DEPRECATION_MESSAGE�DeprecationWarning�config_defaults�KeyError�AttributeError�__name__)�selfr �excs �O/opt/cloudlinux/venv/lib/python3.11/site-packages/pydantic/deprecated/config.py�__getattr__z_ConfigMetaclass.__getattr__ st � �� �g�1�3E�F�F�F� c��*�4�0�0��� c� c� c� �!X���!X�!X�SV�!X�!X�Y�Y�_b�b����� c���s �8 � A"�A�A"N�r r r r )r � __module__�__qualname__r � � r r r s. � � � � � �c� c� c� c� c� 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. r r r r c �P �� t j t j t � � t � � � |� � S # t $ rS} t t | � � |� � cY d }~S # t $ r t t |� � � � |�w xY wd }~ww xY w)N)r r r r r �super�__getattribute__r �getattr�typer )r r r � __class__s �r r zBaseConfig.__getattr__% s� �� �� �g�1�3E�F�F�F� 8��7�7�+�+�D�1�1�1��� 8� 8� 8� 8��t�D�z�z�4�0�0�0�0�0�0�0�0��!� 8� 8� 8�$�S��X�X�.�.�C�7� 8�������� 8���s) � A � B%�A5�/B%�5(B�B � B%�kwargs�Nonec �~ �� t j t j t � � t � � j di |��S )Nr"