
    Mf                     t    d dl Z d dlmZ e j        r
d dlZd dlmZ ddZdd	d
ede j        dgdf         fdZ	dS )    N)_utils)RetryCallStateretry_stater   returnc                     dS )z'Before call strategy that does nothing.N )r   s    N/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/tenacity/before.pybefore_nothingr
      s          loggerzlogging.Logger	log_levelc                      d fd}|S )z:Before call strategy that logs to some logger the attempt.r   r   r   Nc           	          | j         d}nt          j        | j                   }                    d| dt          j        | j                   d           d S )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$   s~    >!!GG.{~>>G

\ \ \!,[-GHH\ \ \	
 	
 	
 	
 	
r   r   r   r   Nr   )r   r   r   s   `` r	   
before_logr      s.    


 

 

 

 

 

 

 Mr   r   )
typingtenacityr   TYPE_CHECKINGloggingr   r
   intCallabler   r   r   r	   <module>r      s   "       	 (NNN''''''2 2 2 2),_&'-.     r   