
    ybj
                    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     ڋ/tmp/claude-0/-home-danvics-docker-quiz/c1e0577a-e42c-4a3d-b1ea-3edd61103a4e/scratchpad/stt/lib/python3.13/site-packages/filelock/_error.pyr
   Timeout.__init__   s    #    c                J    U R                   U R                  4U R                  4$ r   )r   r   __dict__r   s    r   
__reduce__Timeout.__reduce__   s    ~~14==@@r   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%   z3tuple[type[Timeout], tuple[str], dict[str, object]]r%   r$   )r   
__module____qualname____firstlineno____doc__r
   r   r   r   propertyr   __static_attributes____classcell__r   s   @r   r   r      s1    J$A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-   r3   r   r   r1   r1      s    Zr   r1   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.r3   Nr4   r3   r   r   r6   r6      s    ^r   r6   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                v    U R                   U R                  U R                  U R                  4U R                  4$ r   )r   r   r<   r=   r   r   s    r   r   $SoftFileLockProtocolError.__reduce__,   s1    
 ~~1A1A4<<PRVR_R___r   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__3   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_file7   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.reasonA   s     ||r   rD   )r   r$   r>   
str | Noner?   r$   r%   r&   )r%   zVtuple[type[SoftFileLockProtocolError], tuple[str, str | None, str], dict[str, object]]r'   )r%   rM   )r   r(   r)   r*   r+   r
   r   r   r,   r   r>   r?   r-   r.   r/   s   @r   r9   r9   #   s^    [)`
`O        r   r9   )r6   r1   r9   r   N)
__future__r   TimeoutErrorr   DeprecationWarningr1   
ValueErrorr6   OSErrorr9   __all__r3   r   r   <module>rT      sE    "l .["4 [_J _! !Hr   