. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/hc_python/lib/python3.12/site-packages/pydantic/deprecated/__pycache__/ |
Upload File : |
�
��g
� �` � d dl mZ d dlZd dlZd dlmZmZmZmZm Z m
Z
d dlmZ ddl
mZmZ ddlmZ ddlmZ eseZd Ze
eeee gef f Z e d
� Z edd�� ddd
�� Z edd�� ddeed� dd�� Z edd�� ddeed� dd�� Zy)� )�annotationsN)�
TYPE_CHECKING�Any�Callable�Type�TypeVar�Union)�
deprecated� )�DEFAULT_REF_TEMPLATE�GenerateJsonSchema)�TypeAdapter)�PydanticDeprecatedSince20)�parse_obj_as� schema_of�schema_json_of�T�Q`parse_obj_as` is deprecated. Use `pydantic.TypeAdapter.validate_python` instead.)�categoryc � � t j dt d�� |�t j dt d�� t | � j |� S )Nr r �r �
stacklevelzVThe type_name parameter is deprecated. parse_obj_as no longer creates temporary models�r )�warnings�warnr �DeprecationWarningr �validate_python)�type_�obj� type_names �H/opt/hc_python/lib/python3.12/site-packages/pydantic/deprecated/tools.pyr r sN � �
�M�M�[�*���
���
�
�d���
�
�u��-�-�c�2�2� �J`schema_of` is deprecated. Use `pydantic.TypeAdapter.json_schema` instead.T��title�by_alias�ref_template�schema_generatorc � � t j dt d�� t | � j |||�� }|�>t |t � r||d<