o
    ci                     @   sH   d dl mZmZ d dlZd dlmZmZ ededZG dd deZdS )    )TypeTypeVarN)	BaseModel
ConfigDictModelT)boundc                   @   s2   e Zd Zee dZedee defddZ	dS )BaseModelExtended)protected_namespacesclsreturnc                 K   s*   | dtj tj|fi |}| |S )NLoader)
setdefaultyaml
SafeLoaderloadmodel_validate)r
   filekwargs	dict_args r   Z/home/ubuntu/.local/lib/python3.10/site-packages/ray/llm/_internal/common/base_pydantic.py
parse_yaml   s   
zBaseModelExtended.parse_yamlN)
__name__
__module____qualname__r   tuplemodel_configclassmethodr   r   r   r   r   r   r   r   	   s    r   )	typingr   r   r   pydanticr   r   r   r   r   r   r   r   <module>   s
    