
    i                       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 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mZ  edeeeef         Z	  edeee
ef         Z 	  G d de      Z! G d de      Z"y)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations   )DocumentURLChunkDocumentURLChunkTypedDict)	FileChunkFileChunkTypedDict)ImageURLChunkImageURLChunkTypedDict)ResponseFormatResponseFormatTypedDict)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)ListOptionalUnion)NotRequiredTypeAliasType	TypedDictDocumentTypedDictDocumentc                  t    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<   y)OCRRequestTypedDictNullable[str]modelr   documentzNotRequired[str]idz NotRequired[Nullable[List[int]]]pageszNotRequired[Nullable[bool]]include_image_base64zNotRequired[Nullable[int]]image_limitimage_min_sizez.NotRequired[Nullable[ResponseFormatTypedDict]]bbox_annotation_formatdocument_annotation_formatN)__name__
__module____qualname____annotations__     _/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai_azure/models/ocrrequest.pyr   r      sS    !++x55)++ ..7JJ f NN Hr,   r   c                      e Zd ZU 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d      d        Zy)
OCRRequestr   r   r   r   NzOptional[str]r    zOptionalNullable[List[int]]r!   zOptionalNullable[bool]r"   zOptionalNullable[int]r#   r$   z OptionalNullable[ResponseFormat]r%   r&   wrap)modec                   g d}g d}g } ||       }i }t        |       j                  j                         D ]  \  }}|j                  xs |}	|j	                  |	      }
|j                  |	d        |	|v xr |	|v }| j                  j                  |h      xs |	|v }|
|
t        k7  r|
||	<   v|
t        k7  s|	|vs|s|s|
||	<    |S )N)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_sets                r-   serialize_modelzOCRRequest.serialize_modelL   s    

 !T]
J++113 	DAq1A..#CNN1d# !_ 4 Mo9M,,991#> ,++ 
 3.#8!&(->6!!	$ r,   )r'   r(   r)   r*   r    r   r!   r"   r#   r$   r%   r&   r   rH   r+   r,   r-   r/   r/   2   s    !B).E&.x3808)).K&. ,1N)17?D<D fCH @H H6"+ #+r,   r/   N)#__doc__
__future__r   documenturlchunkr   r   	filechunkr   r   imageurlchunkr	   r
   responseformatr   r   mistralai_azure.typesr   r   r   r   r   pydanticr   typingr   r   r   typing_extensionsr   r   r   r   r   r   r/   r+   r,   r-   <module>rS      s    G " I 4 @ C  & ( ( C C "	
46O
OP   U9mEU+U%VW H) H&F Fr,   