o
    \~#g                     @  s2   d dl mZ d dlmZ G dd deZdgZdS )    )annotations)Anyc                      sN   e Zd ZdZd fddZdd	d
ZdddZdddZedddZ	  Z
S )Timeoutz@Raised when the lock could not be acquired in *timeout* seconds.	lock_filestrreturnNonec                   s   t    || _d S N)super__init__
_lock_file)selfr   	__class__ t/var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/filelock/_error.pyr   	   s   

zTimeout.__init__str | tuple[Any, ...]c                 C  s   | j | jffS r	   )r   r   r   r   r   r   
__reduce__      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__   r   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   r   r   r   )r   r   )r   r   )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
    