Ë
    dQêjX  ã                   óP  — d Z ddlmZmZ ddlmZ  G d„ de«      Z G d„ dee«      Z	 G d„ d	ee
«      Z G d
„ dee«      Z G d„ dee«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Zd„ Zy) a'  
    Lance Namespace Specification

    This OpenAPI specification is a part of the Lance namespace specification. It contains 2 parts:  The `components/schemas`, `components/responses`, `components/examples`, `tags` sections define the request and response shape for each operation in a Lance Namespace across all implementations. See https://lance.org/format/namespace/operations for more details.  The `servers`, `security`, `paths`, `components/parameters` sections are for the Lance REST Namespace implementation, which defines a complete REST server that can work with Lance datasets. See https://lance.org/format/namespace/rest for more details. 

    The version of the OpenAPI document: 1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
é    )ÚAnyÚOptional)ÚSelfc                   ó   — e Zd ZdZy)ÚOpenApiExceptionz2The base exception class for all OpenAPIExceptionsN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ún/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lance_namespace_urllib3_client/exceptions.pyr   r      s   „ Ú<r   r   c                   ó(   ‡ — e Zd Z	 	 d	 dˆ fd„Zˆ xZS )ÚApiTypeErrorc                 ó”   •— || _         || _        || _        |}|rdj                  |t	        |«      «      }t
        t        | �  |«       y)aÌ   Raises an exception for TypeErrors

        Args:
            msg (str): the exception message

        Keyword Args:
            path_to_item (list): a list of keys an indices to get to the
                                 current_item
                                 None if unset
            valid_classes (tuple): the primitive classes that current item
                                   should be an instance of
                                   None if unset
            key_type (bool): False if our value is a value in a dict
                             True if it is a key in a dict
                             False if our item is an item in a list
                             None if unset
        ú
{0} at {1}N)Úpath_to_itemÚvalid_classesÚkey_typeÚformatÚrender_pathÚsuperr   Ú__init__)ÚselfÚmsgr   r   r   Úfull_msgÚ	__class__s         €r   r   zApiTypeError.__init__   sJ   ø€ ð& )ˆÔØ*ˆÔØ ˆŒØˆÙØ#×*Ñ*¨3´¸LÓ0IÓJˆHÜŒl˜DÑ*¨8Õ4r   ©NNN©ÚreturnN©r	   r
   r   r   Ú__classcell__©r   s   @r   r   r      s   ø„ Ø=AØð5Ø#'÷5ñ 5r   r   c                   ó"   ‡ — e Zd Zddˆ fd„Zˆ xZS )ÚApiValueErrorc                 óx   •— || _         |}|rdj                  |t        |«      «      }t        t        | �  |«       y)zÎ
        Args:
            msg (str): the exception message

        Keyword Args:
            path_to_item (list) the path to the exception in the
                received_data dict. None if unset
        r   N)r   r   r   r   r&   r   ©r   r   r   r   r   s       €r   r   zApiValueError.__init__3   s;   ø€ ð )ˆÔØˆÙØ#×*Ñ*¨3´¸LÓ0IÓJˆHÜŒm˜TÑ+¨HÕ5r   ©Nr    r"   r$   s   @r   r&   r&   2   s   ø„ ÷6ò 6r   r&   c                   ó"   ‡ — e Zd Zddˆ fd„Zˆ xZS )ÚApiAttributeErrorc                 óx   •— || _         |}|rdj                  |t        |«      «      }t        t        | �  |«       y)a  
        Raised when an attribute reference or assignment fails.

        Args:
            msg (str): the exception message

        Keyword Args:
            path_to_item (None/list) the path to the exception in the
                received_data dict
        r   N)r   r   r   r   r+   r   r(   s       €r   r   zApiAttributeError.__init__E   s<   ø€ ð )ˆÔØˆÙØ#×*Ñ*¨3´¸LÓ0IÓJˆHÜÔ Ñ/°Õ9r   r)   r    r"   r$   s   @r   r+   r+   D   s   ø„ ÷:ò :r   r+   c                   ó"   ‡ — e Zd Zddˆ fd„Zˆ xZS )ÚApiKeyErrorc                 óx   •— || _         |}|rdj                  |t        |«      «      }t        t        | �  |«       y)zÄ
        Args:
            msg (str): the exception message

        Keyword Args:
            path_to_item (None/list) the path to the exception in the
                received_data dict
        r   N)r   r   r   r   r.   r   r(   s       €r   r   zApiKeyError.__init__X   s;   ø€ ð )ˆÔØˆÙØ#×*Ñ*¨3´¸LÓ0IÓJˆHÜŒk˜4Ñ)¨(Õ3r   r)   r    r"   r$   s   @r   r.   r.   W   s   ø„ ÷4ò 4r   r.   c                   ól   — e Zd Z	 	 	 d	dddœdee   dee   ddfd„Zedee   dee   defd„«       Z	d„ Z
y)
ÚApiExceptionN)ÚbodyÚdatar2   r3   r!   c                óf  — || _         || _        || _        || _        d | _        |r}| j                   €|j                   | _         | j                  €|j                  | _        | j                  €!	 |j                  j                  d«      | _        |j                  «       | _        y y # t        $ r Y Œ"w xY w)Nzutf-8)ÚstatusÚreasonr2   r3   ÚheadersÚdecodeÚ	ExceptionÚ
getheaders)r   r5   r6   Ú	http_respr2   r3   s         r   r   zApiException.__init__j   s¨   € ð ˆŒØˆŒØˆŒ	ØˆŒ	ØˆŒáØ�{‰{Ð"Ø'×.Ñ.�”Ø�{‰{Ð"Ø'×.Ñ.�”Ø�y‰yÐ ðØ )§¡× 5Ñ 5°gÓ >�D”Ið %×/Ñ/Ó1ˆD�Lð øô !ò Ùðús   Á- B$ Â$	B0Â/B0c                óÆ  — |j                   dk(  rt        |||¬«      ‚|j                   dk(  rt        |||¬«      ‚|j                   dk(  rt        |||¬«      ‚|j                   dk(  rt	        |||¬«      ‚|j                   dk(  rt        |||¬«      ‚|j                   dk(  rt        |||¬«      ‚d|j                   cxk  rd	k  rn nt        |||¬«      ‚t        |||¬«      ‚)
Ni�  )r;   r2   r3   i‘  i“  i”  i™  i¦  iô  iW  )	r5   ÚBadRequestExceptionÚUnauthorizedExceptionÚForbiddenExceptionÚNotFoundExceptionÚConflictExceptionÚUnprocessableEntityExceptionÚServiceExceptionr1   )Úclsr;   r2   r3   s       r   Úfrom_responsezApiException.from_response…   sæ   € ð ×Ñ˜sÒ"Ü%°	ÀÈ4ÔPÐPà×Ñ˜sÒ"Ü'°)À$ÈTÔRÐRà×Ñ˜sÒ"Ü$¨y¸tÈ$ÔOÐOà×Ñ˜sÒ"Ü#¨i¸dÈÔNÐNð ×Ñ˜sÒ"Ü#¨i¸dÈÔNÐNà×Ñ˜sÒ"Ü.¸ÈÐTXÔYÐYà�)×"Ñ"Ô) cÕ)Ü"¨Y¸TÈÔMÐMÜ Y°TÀÔEÐEr   c                 ó.  — dj                  | j                  | j                  «      }| j                  r|dj                  | j                  «      z  }| j                  s| j
                  r,|dj                  | j                  xs | j
                  «      z  }|S )z#Custom error messages for exceptionz({0})
Reason: {1}
zHTTP response headers: {0}
zHTTP response body: {0}
)r   r5   r6   r7   r3   r2   )r   Úerror_messages     r   Ú__str__zApiException.__str__¤   s~   € ð(ß(.©¨t¯{©{¸D¿K¹KÓ(Hð 	à�<Š<ØÐ;×BÑBØ—‘óñ ˆMð �9Š9˜Ÿ	š	ØÐ8×?Ñ?ÀÇ	Á	Ò@VÈTÏYÉYÓWÑWˆMàÐr   r   )r	   r
   r   r   Ústrr   r   Úclassmethodr   rE   rH   r   r   r   r1   r1   h   s‰   „ ð ØØð	2ð #Ø"ò2ð �s‰mð2ð �s‰mð2ð 
ó2ð6 ðFð �s‰mð	Fð
 �s‰mðFð 
òFó ðFó<r   r1   c                   ó   — e Zd Zy)r=   N©r	   r
   r   r   r   r   r=   r=   ²   ó   „ Ør   r=   c                   ó   — e Zd Zy)r@   NrL   r   r   r   r@   r@   ¶   rM   r   r@   c                   ó   — e Zd Zy)r>   NrL   r   r   r   r>   r>   º   rM   r   r>   c                   ó   — e Zd Zy)r?   NrL   r   r   r   r?   r?   ¾   rM   r   r?   c                   ó   — e Zd Zy)rC   NrL   r   r   r   rC   rC   Â   rM   r   rC   c                   ó   — e Zd ZdZy)rA   z Exception for HTTP 409 Conflict.Nr   r   r   r   rA   rA   Æ   s   „ Ù*Ør   rA   c                   ó   — e Zd ZdZy)rB   z,Exception for HTTP 422 Unprocessable Entity.Nr   r   r   r   rB   rB   Ë   s   „ Ù6Ør   rB   c                 óŠ   — d}| D ];  }t        |t        «      r|dj                  |«      z  }Œ(|dj                  |«      z  }Œ= |S )z)Returns a string representation of a pathÚ z[{0}]z['{0}'])Ú
isinstanceÚintr   )r   ÚresultÚpths      r   r   r   Ð   sO   € à€FØò ,ˆÜ�cœ3ÔØ�g—n‘n SÓ)Ñ)‰Fà�i×&Ñ& sÓ+Ñ+‰Fð	,ð
 €Mr   N)r   Útypingr   r   Útyping_extensionsr   r9   r   Ú	TypeErrorr   Ú
ValueErrorr&   ÚAttributeErrorr+   ÚKeyErrorr.   r1   r=   r@   r>   r?   rC   rA   rB   r   r   r   r   ú<module>r`      sÃ   ðñ	÷ !Ý "ô=�yô =ô5Ð# Yô 5ô:6Ð$ jô 6ô$:Ð(¨.ô :ô&4Ð" Hô 4ô"GÐ#ô GôT	˜,ô 	ô	˜ô 	ô	˜Lô 	ô	˜ô 	ô	�|ô 	ô	˜ô 	ô
	 <ô 	ó
r   