
    עi                         d dl Z d dlmZ e j                  rd dlmZ d
dZdej                  dede j                  dgdf   fd	Z	y)    N)_utils)RetryCallStater   returnc                      y)z'Before call strategy that does nothing.N )retry_states    P/sites/domain-asset-master/.venv/lib/python3.12/site-packages/tenacity/before.pybefore_nothingr
      s        logger	log_levelc                      d fd}|S )z:Before call strategy that logs to some logger the attempt.c           	          | j                   d}nt        j                  | j                         }j                  d| dt        j                  | j
                         d       y )Nz	<unknown>zStarting call to 'z', this is the z time calling it.)fnr   get_callback_namelog
to_ordinalattempt_number)r   fn_namer   r   s     r	   log_itzbefore_log.<locals>.log_it"   sa    >>!!G..{~~>G

 	 *!,,[-G-GHIIZ\	
r   r   r   r   Nr   )r   r   r   s   `` r	   
before_logr      s    


 Mr   r   )
typingtenacityr   TYPE_CHECKINGr   r
   LoggerProtocolintCallabler   r   r   r	   <module>r      sS   "  	'2!!.1__&'-.r   