관리-도구
편집 파일: config.cpython-38.pyc
U /?�f� � @ s` d dl Z d dlmZ d dlmZmZmZmZmZm Z m Z mZmZ d dl mZmZ d dlmZmZ d dlmZ d dlmZ er�d dlmZ d d lmZ d d lmZ ed ZG dd � d e�Zned ZdZG dd� dee�Z es�d dl m!Z! G dd� de!dd�Z"ne#Z"G dd� d�Z$ee"ee% df ee$ d�dd�Z&ddedd�dd�Z'ee$ edd�d d!�Z(dS )"� N)�Enum) � TYPE_CHECKING�Any�Callable�Dict� ForwardRef�Optional�Tuple�Type�Union)�Literal�Protocol)�AnyArgTCallable�AnyCallable)� GetterDict)�compiled)�overload)� ModelField)� BaseModel� BaseConfigc @ sJ e Zd Zeeeef dd�dd��Zeeeef ee dd�dd��ZdS )�SchemaExtraCallableN)�schema�returnc C s d S �N� )�selfr r r �@/opt/hc_python/lib/python3.8/site-packages/pydantic/v1/config.py�__call__ s zSchemaExtraCallable.__call__)r �model_classr c C s d S r r )r r r r r r r s ) �__name__� __module__�__qualname__r r �strr r r r r r r r r s r ).N)r � ConfigDict� get_config�Extra�inherit_config�prepare_configc @ s e Zd ZdZdZdZdS )r% �allow�ignore�forbidN)r r r! r( r) r* r r r r r% "