Ë
    œ.æj£  ã                  ó‚   — d dl mZ dgZd dlmZ  G d„ de«      Z G d„ de«      Z G d„ d	e	«      Z
 G d
„ de«      Zg d¢Zy)é    )ÚannotationsÚtyping)ÚFinalc                  óP   ‡ — e Zd ZdZddˆ fd„Zd	d„Zd
d„Zd
d„Zed
d„«       Z	ˆ xZ
S )ÚTimeoutz@Raised when the lock could not be acquired in *timeout* seconds.c                ó>   •— t         ‰| �  «        || _        || _        y ©N)ÚsuperÚ__init__Ú
_lock_fileÚ_holder)ÚselfÚ	lock_fileÚholderÚ	__class__s      €úR/root/repos/pocs/video-evals/.venv/lib/python3.12/site-packages/filelock/_error.pyr   zTimeout.__init__   s   ø€ Ü‰ÑÔØ#ˆŒØˆ�ó    c                óJ   — | j                   | j                  f| j                  fS r	   )r   r   Ú__dict__©r   s    r   Ú
__reduce__zTimeout.__reduce__   s   € à�~‰~ §¡Ð1°4·=±=Ð@Ð@r   c                ób   — d| j                   › d�}| j                  €|S |› d| j                  › d�S )NzThe file lock 'z' could not be acquired.z It is held by z, which this host cannot probe.)r   r   )r   Úmessages     r   Ú__str__zTimeout.__str__   s=   € Ø*¨4¯?©?Ð*;Ð;SÐTˆØ�<‰<ÐØˆNØ�˜/¨$¯,©,¨Ð7VÐWÐWr   c                óN   — | j                   j                  › d| j                  ›d�S )Nú(ú))r   Ú__name__r   r   s    r   Ú__repr__zTimeout.__repr__   s%   € Ø—.‘.×)Ñ)Ð*¨!¨D¯N©NÐ+=¸QÐ?Ð?r   c                ó   — | j                   S )zThe path of the file lock.©r   r   s    r   r   zTimeout.lock_file   ó   € ð �‰Ðr   r	   )r   Ústrr   ú
str | NoneÚreturnÚNone)r%   z3tuple[type[Timeout], tuple[str], dict[str, object]]©r%   r#   )r   Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   Úpropertyr   Ú__classcell__©r   s   @r   r   r      s1   ø„ ÙJöó
AóXó@ð òó ôr   r   c                  ó   — e Zd ZdZy)ÚSoftFileLockLifetimeWarningzé
    The configured soft-lock lifetime permits overlapping live holders after expiry.

    A :class:`FutureWarning` shows by default wherever the lock is configured; a :class:`DeprecationWarning` shows only
    in ``__main__``.

    N©r   r(   r)   r*   © r   r   r/   r/   #   s   „ òr   r/   c                  ó   — e Zd ZdZy)ÚLeaseSettingsMismatchzTA lease contender disagrees with the published claim about how long the lease lasts.Nr0   r1   r   r   r3   r3   -   s   „ Ú^r   r3   c                  ón   ‡ — e Zd ZdZdˆ fd„Z	 	 d	d„Zd
d„Zed
d„«       Zedd„«       Z	ed
d„«       Z
ˆ xZS )ÚSoftFileLockProtocolErrorzQRaised when strict soft-lock state cannot be interpreted without risking overlap.c                ój   •— || _         || _        || _        t        ‰| �  | j                  «       «       y r	   )r   Ú_claim_nameÚ_reasonr
   r   r   )r   r   Ú
claim_nameÚreasonr   s       €r   r   z"SoftFileLockProtocolError.__init__4   s,   ø€ Ø#ˆŒØ%ˆÔØˆŒÜ‰Ñ˜Ÿ™›Õ(r   c                óv   — | j                   | j                  | j                  | j                  f| j                  fS r	   )r   r   r7   r8   r   r   s    r   r   z$SoftFileLockProtocolError.__reduce__:   s1   € ð
 �~‰~ §¡°×1AÑ1AÀ4Ç<Á<ÐPÐRV×R_ÑR_Ð_Ð_r   c                óŒ   — | j                   €| j                  n| j                  › d| j                   ›�}d|› d| j                  › �S )Nz: claim z"Invalid strict soft-lock state at z: )r7   r   r8   )r   Úlocations     r   r   z!SoftFileLockProtocolError.__str__A   sH   € Ø&*×&6Ñ&6Ð&>�4—?’?ÀtÇÁÐFWÐW_Ð`d×`pÑ`pÐ_sÐDtˆØ3°H°:¸RÀÇÁ¸~ÐNÐNr   c                ó   — | j                   S )zThe requested lock path.r!   r   s    r   r   z#SoftFileLockProtocolError.lock_fileE   r"   r   c                ó   — | j                   S )z<The claim that caused the error, if scanning identified one.)r7   r   s    r   r9   z$SoftFileLockProtocolError.claim_nameJ   s   € ð ×ÑÐr   c                ó   — | j                   S )z The protocol validation failure.)r8   r   s    r   r:   z SoftFileLockProtocolError.reasonO   s   € ð �|‰|Ðr   )r   r#   r9   r$   r:   r#   r%   r&   )r%   zVtuple[type[SoftFileLockProtocolError], tuple[str, str | None, str], dict[str, object]]r'   )r%   r$   )r   r(   r)   r*   r   r   r   r+   r   r9   r:   r,   r-   s   @r   r5   r5   1   s^   ø„ Ù[õ)ð`ð
ó`óOð òó ðð ò ó ð ð òó ôr   r5   )r3   r/   r5   r   N)Ú
__future__r   Ú__lazy_modules__r   r   ÚTimeoutErrorr   ÚFutureWarningr/   Ú
ValueErrorr3   ÚOSErrorr5   Ú__all__r1   r   r   ú<module>rH      sM   ðÝ "à�:Ð å ôˆlô ô6 -ô ô_˜Jô _ô! ô !òH�r   