
    *pj
                    p    S SK Jr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      r	/ S
Qr
g)    )annotationsc                  b   ^  \ rS rSrSrS	U 4S jjrS
S jrSS jrSS jr\	SS j5       r
SrU =r$ )Timeout   z@Raised when the lock could not be acquired in *timeout* seconds.c                .   > [         TU ]  5         Xl        g N)super__init__
_lock_file)self	lock_file	__class__s     K/var/www/html/pdf-tiff/venv/lib/python3.13/site-packages/filelock/_error.pyr
   Timeout.__init__   s    #    c                4    U R                   U R                  44$ r   )r   r   r   s    r   
__reduce__Timeout.__reduce__   s    ~~111r   c                "    SU R                    S3$ )NzThe file lock 'z' could not be acquired.r   r   s    r   __str__Timeout.__str__   s      11IJJr   c                P    U R                   R                   SU R                  < S3$ )N())r   __name__r   r   s    r   __repr__Timeout.__repr__   s%    ..))*!DNN+=Q??r   c                    U R                   $ )zThe path of the file lock.r   r   s    r   r   Timeout.lock_file        r   r   )r   strreturnNone)r$   z tuple[type[Timeout], tuple[str]]r$   r#   )r   
__module____qualname____firstlineno____doc__r
   r   r   r   propertyr   __static_attributes____classcell__r   s   @r   r   r      s0    J$2K@  r   r   c                      \ rS rSrSrSrg)SoftFileLockLifetimeWarning   zPThe configured soft-lock lifetime permits overlapping live holders after expiry. Nr   r'   r(   r)   r*   r,   r2   r   r   r0   r0      s    Zr   r0   c                      \ rS rSrSrSrg)LeaseSettingsMismatch   zTA lease contender disagrees with the published claim about how long the lease lasts.r2   Nr3   r2   r   r   r5   r5      s    ^r   r5   c                     ^  \ rS rSrSrS
U 4S jjr  SS jrSS jr\SS j5       r	\SS j5       r
\SS j5       rS	rU =r$ )SoftFileLockProtocolError#   zQRaised when strict soft-lock state cannot be interpreted without risking overlap.c                d   > Xl         X l        X0l        [        TU ]  U R                  5       5        g r   )r   _claim_name_reasonr	   r
   r   )r   r   
claim_namereasonr   s       r   r
   "SoftFileLockProtocolError.__init__&   s&    #%(r   c                `    U R                   U R                  U R                  U R                  44$ r   )r   r   r;   r<   r   s    r   r   $SoftFileLockProtocolError.__reduce__,   s(     ~~1A1A4<<PPPr   c                    U R                   c  U R                  OU R                   SU R                   < 3nSU SU R                   3$ )Nz: claim z"Invalid strict soft-lock state at z: r;   r   r<   )r   locations     r   r   !SoftFileLockProtocolError.__str__1   sH    &*&6&6&>4??tFWW_`d`p`p_sDt3H:R~NNr   c                    U R                   $ )zThe requested lock path.r   r   s    r   r   #SoftFileLockProtocolError.lock_file5   r"   r   c                    U R                   $ )z<The claim that caused the error, if scanning identified one.)r;   r   s    r   r=   $SoftFileLockProtocolError.claim_name:   s     r   c                    U R                   $ )z The protocol validation failure.)r<   r   s    r   r>    SoftFileLockProtocolError.reason?   s     ||r   rC   )r   r#   r=   
str | Noner>   r#   r$   r%   )r$   zCtuple[type[SoftFileLockProtocolError], tuple[str, str | None, str]]r&   )r$   rL   )r   r'   r(   r)   r*   r
   r   r   r+   r   r=   r>   r,   r-   r.   s   @r   r8   r8   #   s\    [)Q	LQ
O        r   r8   )r5   r0   r8   r   N)
__future__r   TimeoutErrorr   DeprecationWarningr0   
ValueErrorr5   OSErrorr8   __all__r2   r   r   <module>rS      sE    "l .["4 [_J _ Dr   