Ë
    @ô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                  óT   ‡ — 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.

    :param lock_file: the path of the file lock
    :param holder: a description of the lock's holder, when one is recorded and this host cannot probe it
    c                ó>   •— t         ‰| �  «        || _        || _        y ©N)ÚsuperÚ__init__Ú
_lock_fileÚ_holder)ÚselfÚ	lock_fileÚholderÚ	__class__s      €ú`/var/www/html/academy/tools/voices/clone/fw-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      s<   ø„ ñöð
Aà	<ó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   4   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 )ÚSoftFileLockProtocolErrora2  
    Raised when strict soft-lock state cannot be interpreted without risking overlap.

    :param lock_file: the path of the lock
    :param claim_name: the name of the claim the state belongs to, or ``None`` when it concerns the lock as a whole
    :param reason: why the state cannot be interpreted
    c                ój   •— || _         || _        || _        t        ‰| �  | j                  «       «       y r	   )r   Ú_claim_nameÚ_reasonr
   r   r   )r   r   Ú
claim_nameÚreasonr   s       €r   r   z"SoftFileLockProtocolError.__init__A   s,   ø€ Ø#ˆŒØ%ˆÔØˆŒÜ‰Ñ˜Ÿ™›Õ(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__G   sH   € Ø&*×&6Ñ&6Ð&>�4—?’?ÀtÇÁÐFWÐW_Ð`d×`pÑ`pÐ_sÐDtˆØ3°H°:¸RÀÇÁ¸~ÐNÐNr   c                óv   — | j                   | j                  | j                  | j                  f| j                  fS r	   )r   r   r7   r8   r   r   s    r   r   z$SoftFileLockProtocolError.__reduce__K   s1   € ð �~‰~ §¡°×1AÑ1AÀ4Ç<Á<ÐPÐRV×R_ÑR_Ð_Ð_r   c                ó   — | j                   S )zThe requested lock path.r!   r   s    r   r   z#SoftFileLockProtocolError.lock_fileT   r"   r   c                ó   — | j                   S )z<The claim that caused the error, if scanning identified one.)r7   r   s    r   r9   z$SoftFileLockProtocolError.claim_nameY   s   € ð ×ÑÐr   c                ó   — | j                   S )z The protocol validation failure.)r8   r   s    r   r:   z SoftFileLockProtocolError.reason^   s   € ð �|‰|Ðr   )r   r#   r9   r$   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   r9   r:   r,   r-   s   @r   r5   r5   8   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      sN   ðÝ "à�:Ð å ôˆlô ôD -ô ô_˜Jô _ô) ô )òX�r   