ó
    ­[jì  ã                  ót   • S SK Jr  SSKJrJr  / SQr " S S\5      r " S S\5      r " S	 S
\5      rSS jr	g)é    )Úannotationsé   )ÚAPIStatusErrorÚLandingAiadeError)ÚV2SyncTimeoutErrorÚJobWaitTimeoutErrorÚJobFailedErrorÚraise_if_sync_timeoutc                  ó   • \ rS rSrSrSrg)r   é   a  A synchronous /v2/parse or /v2/extract call exceeded the server wait window (504).

The server cancels the work; use the async jobs route
(`client.v2.parse_jobs.create(...)` / `client.v2.extract_jobs.create(...)`, then
`.wait(...)`) for long-running documents.© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    ÚX/home/mande/repo/quber/.venv/lib/python3.13/site-packages/landingai_ade/lib/v2_errors.pyr   r      s   † ô1r   r   c                  ó   • \ rS rSrSrSrg)r   é   z9`wait()` gave up before the job reached a terminal state.r   Nr   r   r   r   r   r      s   † ÜCr   r   c                  ó   • \ rS rSrSrSrg)r	   é   zLA job reached a terminal `failed`/`cancelled` state (raise_on_failure=True).r   Nr   r   r   r   r	   r	      s   † ÜVr   r	   c                óP   • U R                   R                  S:X  a  [        S5      U eg )Niø  uì   The synchronous request timed out (HTTP 504). The server cancels the work on timeout â€” use the async jobs route (`client.v2.parse_jobs.create(...)` / `client.v2.extract_jobs.create(...)`, then `.wait(...)`) for long-running documents.)ÚresponseÚstatus_coder   )Úexcs    r   r
   r
      s1   € Ø
‡|�|×Ñ 3Ó&Ü ðcó
ð ð		ð 'r   N)r   r   ÚreturnÚNone)
Ú
__future__r   Ú_exceptionsr   r   Ú__all__r   r   r	   r
   r   r   r   Ú<module>r$      sB   ðå "ç ;ò€ô1Ð*ô 1ôDÐ+ô DôWÐ&ô Wõr   