a
    ž˜ëj¤  ã                   @  s`   d Z ddlmZ ddlZddlmZ ddlmZ ddlm	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.é    )ÚannotationsN)ÚOptional)ÚUnstructuredClientError)Ú	BaseModelc                   @  s   e Zd ZU dZded< dS )ÚServerErrorDataNúOptional[str]Údetail)Ú__name__Ú
__module__Ú__qualname__r   Ú__annotations__© r   r   úl/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/errors/servererror.pyr   
   s   
r   c                      s2   e Zd ZU ded< d	ddddœ‡ fdd„Z‡  ZS )
ÚServerErrorr   ÚdataNzhttpx.Responser   )r   Úraw_responseÚbodyc                   s$   |p|j }tƒ  |||¡ || _d S )N)ÚtextÚsuperÚ__init__r   )Úselfr   r   r   Úmessage©Ú	__class__r   r   r      s    
zServerError.__init__)N)r	   r
   r   r   r   Ú__classcell__r   r   r   r   r      s   
 ür   )Ú__doc__Ú
__future__r   ZhttpxÚtypingr   Z!unstructured_client.models.errorsr   Zunstructured_client.typesr   r   r   r   r   r   r   Ú<module>   s   