Ë
    kQêj|  ã                   óR   — d dl mZ  G d„ de«      Z G d„ de«      Z G d„ de«      Zy)	é    )ÚOptionalc                   óP   ‡ — e Zd ZdZ	 ddededee   fˆ fd„Zdee	ef   fd„Z
ˆ xZS )	ÚLanceDBClientErrora•  An error that occurred in the LanceDB client.

    Attributes
    ----------
    message: str
        The error message.
    request_id: str
        The id of the request that failed. This can be provided in error reports
        to help diagnose the issue.
    status_code: int
        The HTTP status code of the response. May be None if the request
        failed before the response was received.
    ÚmessageÚ
request_idÚstatus_codec                 ó@   •— t         ‰| �  |«       || _        || _        y ©N)ÚsuperÚ__init__r   r   )Úselfr   r   r   Ú	__class__s       €úZ/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/lancedb/remote/errors.pyr   zLanceDBClientError.__init__   s!   ø€ ô 	‰Ñ˜Ô!Ø$ˆŒØ&ˆÕó    Úreturnc                 ó^   — | j                   t        | «      | j                  | j                  ffS r
   )r   Ústrr   r   ©r   s    r   Ú
__reduce__zLanceDBClientError.__reduce__   s&   € Ø—‘¤ T£¨D¯O©O¸T×=MÑ=MÐ NÐOÐOr   r
   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úintr   ÚtupleÚtyper   Ú__classcell__©r   s   @r   r   r      sG   ø„ ñð KOñ'Øð'Ø(+ð'Ø:BÀ3¹-õ'ðP˜E $¨ +Ñ.÷ Pr   r   c                   ó   — e Zd ZdZy)Ú	HttpErrora–  An error that occurred during an HTTP request.

    Attributes
    ----------
    message: str
        The error message.
    request_id: str
        The id of the request that failed. This can be provided in error reports
        to help diagnose the issue.
    status_code: int
        The HTTP status code of the response. May be None if the request
        failed before the response was received.
    N)r   r   r   r   © r   r   r    r    "   s   „ ñð 	r   r    c                   ód   ‡ — e Zd ZdZdededededededed	ed
ee   fˆ fd„Zdee	ef   fd„Z
ˆ xZS )Ú
RetryErrora^  An error that occurs when the client has exceeded the maximum number of retries.

    The retry strategy can be adjusted by setting the
    [retry_config][lancedb.remote.ClientConfig.retry_config] in the client
    configuration. This is passed in the `client_config` argument of
    [connect][lancedb.connect] and [connect_async][lancedb.connect_async].

    The __cause__ attribute of this exception will be the last exception that
    caused the retry to fail. It will be an
    [HttpError][lancedb.remote.errors.HttpError] instance.

    Attributes
    ----------
    message: str
        The retry error message, which will describe which retry limit was hit.
    request_id: str
        The id of the request that failed. This can be provided in error reports
        to help diagnose the issue.
    request_failures: int
        The number of request failures.
    connect_failures: int
        The number of connect failures.
    read_failures: int
        The number of read failures.
    max_request_failures: int
        The maximum number of request failures.
    max_connect_failures: int
        The maximum number of connect failures.
    max_read_failures: int
        The maximum number of read failures.
    status_code: int
        The HTTP status code of the last response. May be None if the request
        failed before the response was received.
    r   r   Úrequest_failuresÚconnect_failuresÚread_failuresÚmax_request_failuresÚmax_connect_failuresÚmax_read_failuresr   c
                 ó|   •— t         ‰
| �  |||	«       || _        || _        || _        || _        || _        || _        y r
   )r   r   r$   r%   r&   r'   r(   r)   )r   r   r   r$   r%   r&   r'   r(   r)   r   r   s             €r   r   zRetryError.__init__X   sF   ø€ ô 	‰Ñ˜ *¨kÔ:Ø 0ˆÔØ 0ˆÔØ*ˆÔØ$8ˆÔ!Ø$8ˆÔ!Ø!2ˆÕr   r   c           
      óâ   — | j                   t        | «      | j                  | j                  | j                  | j
                  | j                  | j                  | j                  | j                  f	fS r
   )
r   r   r   r$   r%   r&   r'   r(   r)   r   r   s    r   r   zRetryError.__reduce__l   se   € à�N‰Nä�D“	Ø—‘Ø×%Ñ%Ø×%Ñ%Ø×"Ñ"Ø×)Ñ)Ø×)Ñ)Ø×&Ñ&Ø× Ñ ð
ð
ð 	
r   )r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r#   r#   4   s   ø„ ñ!ðF3àð3ð ð3ð ð	3ð
 ð3ð ð3ð "ð3ð "ð3ð ð3ð ˜c‘]õ3ð(
˜E $¨ +Ñ.÷ 
r   r#   N)Útypingr   ÚRuntimeErrorr   r    r#   r!   r   r   ú<module>r.      s4   ðõ
 ôP˜ô Pô4	Ð"ô 	ô$F
Ð#õ F
r   