o
    i                      @  s   d Z ddlmZ ddlmZmZ ddlmZmZ ddl	m
Z
mZmZmZmZ ddlmZ ddlmZmZmZ dd	lmZmZ ed
 Zed ZG dd deZG dd de
ZdS )zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations   )ClassifierTargetOutClassifierTargetOutTypedDict)FTModelCapabilitiesOutFTModelCapabilitiesOutTypedDict)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)ListLiteralOptional)NotRequired	TypedDictmodel
classifierc                   @  s   e Zd ZU ded< ded< ded< ded< ded< ded< d	ed
< ded< ded< ded< ded< ded< ded< ded< ded< ded< dS )ClassifierFTModelOutTypedDictstridintcreatedowned_byworkspace_idrootroot_versionboolarchivedr   capabilitiesjobz"List[ClassifierTargetOutTypedDict]classifier_targetsz'NotRequired[ClassifierFTModelOutObject]objectzNotRequired[Nullable[str]]namedescriptionzNotRequired[int]max_context_lengthzNotRequired[List[str]]aliasesz*NotRequired[ClassifierFTModelOutModelType]
model_typeN)__name__
__module____qualname____annotations__ r-   r-   k/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/mistralai/models/classifierftmodelout.pyr      s"   
 r   c                   @  s   e Zd ZU ded< ded< ded< ded< ded< ded< d	ed
< ded< ded< ded< dZded< eZded< eZded< dZded< dZ	ded< dZ
ded< edd d!d" ZdS )#ClassifierFTModelOutr   r   r   r   r   r   r   r   r   r   r   r    r!   zList[ClassifierTargetOut]r"   r   z$Optional[ClassifierFTModelOutObject]r#   zOptionalNullable[str]r$   r%   i   zOptional[int]r&   NzOptional[List[str]]r'   r   z'Optional[ClassifierFTModelOutModelType]r(   wrap)modec                 C  s   g d}ddg}g }|| }i }t | j D ]D\}}|jp|}	||	}
||	d  |	|v o2|	|v }| j|hp=|	|v }|
d urK|
tkrK|
||	< q|
tkr[|	|vsW|r[|r[|
||	< q|S )N)r#   r$   r%   r&   r'   r(   r$   r%   )	typemodel_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedmnfkvaloptional_nullableis_setr-   r-   r.   serialize_modelH   s(   


z$ClassifierFTModelOut.serialize_model)r)   r*   r+   r,   r#   r   r$   r%   r&   r'   r(   r   rG   r-   r-   r-   r.   r/   '   s&   
 r/   N)__doc__
__future__r   classifiertargetoutr   r   ftmodelcapabilitiesoutr   r   mistralai.typesr   r	   r
   r   r   pydanticr   typingr   r   r   typing_extensionsr   r   ClassifierFTModelOutObjectClassifierFTModelOutModelTyper   r/   r-   r-   r-   r.   <module>   s    