
    g                    8    d dl mZ d dlmZ  G d de      ZdgZy)    )annotations)Anyc                  N     e Zd ZdZ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                0    t         |           || _        y N)super__init__
_lock_file)self	lock_file	__class__s     D/var/www/openai/venv/lib/python3.12/site-packages/filelock/_error.pyr
   zTimeout.__init__	   s    #    c                4    | j                   | j                  ffS r   )r   r   r   s    r   
__reduce__zTimeout.__reduce__   s    ~~111r   c                "    d| j                    dS )NzThe file lock 'z' could not be acquired.r   r   s    r   __str__zTimeout.__str__   s      11IJJr   c                N    | j                   j                   d| j                  dS )N())r   __name__r   r   s    r   __repr__zTimeout.__repr__   s%    ..))*!DNN+=Q??r   c                    | j                   S )z#:return: The path of the file lock.r   r   s    r   r   zTimeout.lock_file   s     r   )r   strreturnNone)r   zstr | tuple[Any, ...])r   r   )r   
__module____qualname____doc__r
   r   r   r   propertyr   __classcell__)r   s   @r   r   r      s0    J$2K@  r   r   N)
__future__r   typingr   TimeoutErrorr   __all__ r   r   <module>r*      s#    " l . r   