§
    eÉÝ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dS )é    )ÚannotationsÚtyping)ÚFinalc                  óV   ‡ — 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.NÚ	lock_fileÚstrÚholderú
str | NoneÚreturnÚNonec                ód   •— t          ¦   «                              ¦   «          || _        || _        d S ©N)ÚsuperÚ__init__Ú
_lock_fileÚ_holder)Úselfr   r
   Ú	__class__s      €úW/home/spazio/cosmos_universe_media/venv/lib/python3.11/site-packages/filelock/_error.pyr   zTimeout.__init__   s+   ø€ Ý‰Œ×ÒÑÔÐØ#ˆŒØˆŒˆˆó    ú3tuple[type[Timeout], tuple[str], dict[str, object]]c                ó,   — | j         | j        f| j        fS r   )r   r   Ú__dict__©r   s    r   Ú
__reduce__zTimeout.__reduce__   s   € àŒ~ ¤Ð1°4´=Ð@Ð@r   c                óD   — 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:   € ØT¨4¬?ÐTÐTÐTˆØŒ<ÐØˆNØÐWÐW¨$¬,ÐWÐWÐWÐWr   c                ó0   — | j         j        › d| j        ›d�S )Nú(ú))r   Ú__name__r   r   s    r   Ú__repr__zTimeout.__repr__   s    € Ø”.Ô)Ð?Ð?¨D¬NÐ?Ð?Ð?Ð?r   c                ó   — | j         S )zThe path of the file lock.©r   r   s    r   r   zTimeout.lock_file   ó   € ð ŒÐr   r   )r   r	   r
   r   r   r   )r   r   ©r   r	   )r#   Ú
__module__Ú__qualname__Ú__doc__r   r   r   r$   Úpropertyr   Ú__classcell__©r   s   @r   r   r      s°   ø€ € € € € ØJÐJðð ð ð ð ð ð ð
Að Að Að AðXð Xð Xð Xð@ð @ð @ð @ð ðð ð ñ „Xðð ð ð ð r   r   c                  ó   — e Zd ZdZdS )Ú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   r0   r0   #   s   € € € € € ðð ð ð r   r0   c                  ó   — e Zd ZdZdS )ÚLeaseSettingsMismatchzTA lease contender disagrees with the published claim about how long the lease lasts.Nr1   r2   r   r   r4   r4   -   s   € € € € € Ø^Ð^Ð^Ð^r   r4   c                  ó|   ‡ — 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.r   r	   Ú
claim_namer   Úreasonr   r   c                ó˜   •— || _         || _        || _        t          ¦   «                              |                      ¦   «         ¦  «         d S r   )r   Ú_claim_nameÚ_reasonr   r   r   )r   r   r7   r8   r   s       €r   r   z"SoftFileLockProtocolError.__init__4   s?   ø€ Ø#ˆŒØ%ˆÔØˆŒÝ‰Œ×Ò˜Ÿš™œÑ(Ô(Ð(Ð(Ð(r   úVtuple[type[SoftFileLockProtocolError], tuple[str, str | None, str], dict[str, object]]c                óD   — | j         | j        | j        | j        f| j        fS r   )r   r   r:   r;   r   r   s    r   r   z$SoftFileLockProtocolError.__reduce__:   s%   € ð
 Œ~ ¤°Ô1AÀ4Ä<ÐPÐRVÔR_Ð_Ð_r   c                óZ   — | j         €| j        n| j        › d| j         ›�}d|› d| j        › �S )Nz: claim z"Invalid strict soft-lock state at z: )r:   r   r;   )r   Úlocations     r   r   z!SoftFileLockProtocolError.__str__A   sA   € Ø&*Ô&6Ð&>�4”?�?ÀtÄÐDtÐDtÐ`dÔ`pÐDtÐDtˆØN°HÐNÐNÀÄÐNÐ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.)r:   r   s    r   r7   z$SoftFileLockProtocolError.claim_nameJ   s   € ð ÔÐr   c                ó   — | j         S )z The protocol validation failure.)r;   r   s    r   r8   z SoftFileLockProtocolError.reasonO   s   € ð Œ|Ðr   )r   r	   r7   r   r8   r	   r   r   )r   r<   r(   )r   r   )r#   r)   r*   r+   r   r   r   r,   r   r7   r8   r-   r.   s   @r   r6   r6   1   sÓ   ø€ € € € € Ø[Ð[ð)ð )ð )ð )ð )ð )ð`ð `ð `ð `ðOð Oð Oð Oð ðð ð ñ „Xðð ð ð  ð  ñ „Xð ð ðð ð ñ „Xðð ð ð ð r   r6   )r4   r0   r6   r   N)Ú
__future__r   Ú__lazy_modules__r   r   ÚTimeoutErrorr   ÚFutureWarningr0   Ú
ValueErrorr4   ÚOSErrorr6   Ú__all__r2   r   r   ú<module>rJ      s÷   ðØ "Ð "Ð "Ð "Ð "Ð "à�:Ð à Ð Ð Ð Ð Ð ðð ð ð ð ˆlñ ô ð ð6ð ð ð ð  -ñ ô ð ð_ð _ð _ð _ð _˜Jñ _ô _ð _ð!ð !ð !ð !ð ! ñ !ô !ð !ðHð ð €€€r   