o
    i                     @  s   d Z ddlmZ ddlmZmZ ddl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mZmZ dd	lmZm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   )
BatchErrorBatchErrorTypedDict)BatchJobStatus)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)AnyDictListLiteralOptional)NotRequired	TypedDictbatchc                   @  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ed< ded< dS )BatchJobOutTypedDictstrid	List[str]input_filesendpointzList[BatchErrorTypedDict]errorsr   statusint
created_attotal_requestscompleted_requestssucceeded_requestsfailed_requestszNotRequired[BatchJobOutObject]objectz%NotRequired[Nullable[Dict[str, Any]]]metadatazNotRequired[Nullable[str]]modelagent_idoutput_file
error_filezNotRequired[Nullable[int]]
started_atcompleted_atN)__name__
__module____qualname____annotations__ r/   r/   b/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/mistralai/models/batchjobout.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< eZded< eZ	ded< eZ
ded< eZded< eZded< edddd  Zd!S )"BatchJobOutr   r   r   r   r   zList[BatchError]r   r   r   r   r   r   r    r!   r"   r   zOptional[BatchJobOutObject]r#   z OptionalNullable[Dict[str, Any]]r$   zOptionalNullable[str]r%   r&   r'   r(   zOptionalNullable[int]r)   r*   wrap)modec                 C  s   g d}g d}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*   )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/   r0   serialize_modelI   s(   
	


zBatchJobOut.serialize_modelN)r+   r,   r-   r.   r#   r
   r$   r%   r&   r'   r(   r)   r*   r   rI   r/   r/   r/   r0   r1   $   s*   
 r1   N)__doc__
__future__r   
batcherrorr   r   batchjobstatusr   mistralai.typesr   r   r	   r
   r   pydanticr   typingr   r   r   r   r   typing_extensionsr   r   BatchJobOutObjectr   r1   r/   r/   r/   r0   <module>   s    