관리-도구
편집 파일: errors.cpython-38.pyc
U /?�f>E � @ s� d dl mZ d dlmZ d dlmZmZmZmZm Z m Z mZmZ d dl mZ er\d dl mZ dZed ddd �d d�ZG dd� d�ZG d d� dee�ZG dd� dee�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�Z G d#d$� d$e�Z!G d%d&� d&e�Z"G d'd(� d(e�Z#G d)d*� d*e#�Z$G d+d,� d,e#�Z%G d-d.� d.e#�Z&G d/d0� d0e#�Z'G d1d2� d2e#�Z(G d3d4� d4e#�Z)G d5d6� d6e#�Z*G d7d8� d8e�Z+G d9d:� d:e�Z,G d;d<� d<e�Z-G d=d>� d>e�Z.G d?d@� d@e�Z/G dAdB� dBe/�Z0G dCdD� dDe/�Z1G dEdF� dFe/�Z2G dGdH� dHe�Z3G dIdJ� dJe�Z4G dKdL� dLe�Z5G dMdN� dNe�Z6G dOdP� dPe�Z7G dQdR� dRe�Z8G dSdT� dTe�Z9G dUdV� dVe�Z:G dWdX� dXe�Z;G dYdZ� dZe�Z<G d[d\� d\e�Z=G d]d^� d^e�Z>G d_d`� d`e�Z?G dadb� dbe�Z@G dcdd� dde�ZAG dedf� dfe�ZBG dgdh� dhe�ZCG didj� dje�ZDG dkdl� dle�ZEG dmdn� dne�ZFG dodp� dpe�ZGG dqdr� dreG�ZHG dsdt� dteG�ZIG dudv� dveG�ZJG dwdx� dxeG�ZKG dydz� dze�ZLG d{d|� d|e�ZMG d}d~� d~e�ZNG dd�� d�e�ZOG d�d�� d�e�ZPG d�d�� d�e�ZQG d�d�� d�e�ZRG d�d�� d�e�ZSG d�d�� d�e�ZTG d�d�� d�e�ZUG d�d�� d�e�ZVG d�d�� d�e�ZWG d�d�� d�e�ZXG d�d�� d�e�ZYG d�d�� d�e�ZZG d�d�� d�e�Z[G d�d�� d�e�Z\G d�d�� d�e�Z]G d�d�� d�e�Z^G d�d�� d�e�Z_G d�d�� d�e�Z`G d�d�� d�e�ZaG d�d�� d�e�ZbG d�d�� d�e�ZcG d�d�� d�e�ZdG d�d�� d�e�ZeG d�d�� d�e�ZfG d�d�� d�e�ZgG d�d�� d�e�ZhG d�d�� d�e�ZiG d�d�� d�e�ZjG d�d�� d�e�ZkG d�d�� d�e�ZlG d�d�� d�e�ZmG d�d�� d�e�ZnG d�d�� d�e�ZoG d�d d�e�ZpG d�dĄ d�e�ZqG d�dƄ d�e�ZrG d�dȄ d�e�ZsG d�dʄ d�e�ZtG d�d̄ d�e�ZuG d�d΄ d�e�ZvG d�dЄ d�e�Zwd�S )�� )�Decimal)�Path)� TYPE_CHECKING�Any�Callable�Sequence�Set�Tuple�Type�Union)�display_as_type)� DictStrAny)]�PydanticTypeError�PydanticValueError�ConfigError�MissingError� ExtraError�NoneIsNotAllowedError�NoneIsAllowedError�WrongConstantError�NotNoneError� BoolError� BytesError� DictError� EmailError�UrlError�UrlSchemeError�UrlSchemePermittedError�UrlUserInfoError�UrlHostError�UrlHostTldError�UrlPortError� UrlExtraError� EnumError�IntEnumError�EnumMemberError�IntegerError� FloatError� PathError�PathNotExistsError�PathNotAFileError�PathNotADirectoryError� PyObjectError� SequenceError� ListError�SetError�FrozenSetError� TupleError�TupleLengthError�ListMinLengthError�ListMaxLengthError�ListUniqueItemsError�SetMinLengthError�SetMaxLengthError�FrozenSetMinLengthError�FrozenSetMaxLengthError�AnyStrMinLengthError�AnyStrMaxLengthError�StrError� StrRegexError�NumberNotGtError�NumberNotGeError�NumberNotLtError�NumberNotLeError�NumberNotMultipleError�DecimalError�DecimalIsNotFiniteError�DecimalMaxDigitsError�DecimalMaxPlacesError�DecimalWholeDigitsError� DateTimeError� DateError�DateNotInThePastError�DateNotInTheFutureError� TimeError� DurationError� HashableError� UUIDError�UUIDVersionError�ArbitraryTypeError� ClassError� SubclassError� JsonError� JsonTypeError�PatternError�DataclassTypeError� CallableError�IPvAnyAddressError�IPvAnyInterfaceError�IPvAnyNetworkError�IPv4AddressError�IPv6AddressError�IPv4NetworkError�IPv6NetworkError�IPv4InterfaceError�IPv6InterfaceError� ColorError�StrictBoolError� NotDigitError�LuhnValidationError�InvalidLengthForBrand�InvalidByteSize�InvalidByteSizeUnit�MissingDiscriminator�InvalidDiscriminator�PydanticErrorMixinr )�cls�ctx�returnc C s | f |�S )a� For built-in exceptions like ValueError or TypeError, we need to implement __reduce__ to override the default behaviour (instead of __getstate__/__setstate__) By default pickle protocol 2 calls `cls.__new__(cls, *args)`. Since we only use kwargs, we need a little constructor to change that. Note: the callable can't be a lambda as pickle looks in the namespace to find it � )rl rm ro ro �@/opt/hc_python/lib/python3.8/site-packages/pydantic/v1/errors.py� cls_kwargsl s rq c @ sb e Zd ZU eed<