U
    -e                     @  s2   d dl mZ d dlmZ G dd deZdgZdS )    )annotations)Anyc                      sd   e Zd ZdZddd fddZddd	d
ZddddZddddZeddddZ	  Z
S )Timeoutz@Raised when the lock could not be acquired in *timeout* seconds.strNone)	lock_filereturnc                   s   t    || _d S N)super__init__
_lock_file)selfr   	__class__ P/var/www/html/Darija-Ai-Train/env/lib/python3.8/site-packages/filelock/_error.pyr   	   s    
zTimeout.__init__zstr | tuple[Any, ...])r   c                 C  s   | j | jffS r	   )r   r   r   r   r   r   
__reduce__   s    zTimeout.__reduce__c                 C  s   d| j  dS )NzThe file lock 'z' could not be acquired.r   r   r   r   r   __str__   s    zTimeout.__str__c                 C  s   | j j d| jdS )N())r   __name__r   r   r   r   r   __repr__   s    zTimeout.__repr__c                 C  s   | j S )z#:return: The path of the file lock.r   r   r   r   r   r      s    zTimeout.lock_file)r   
__module____qualname____doc__r   r   r   r   propertyr   __classcell__r   r   r   r   r      s   r   N)
__future__r   typingr   TimeoutErrorr   __all__r   r   r   r   <module>   s   