
    q	hL                     <    S SK r S rS rS rS rS rS rS rS	 rg)
    Nc                     ^  U 4S jnU$ )Nc                 D   > T H  n[        X[        U5      5        M     U $ N)setattr_make_delegate_methodcls	attr_nameattrss     K/var/www/html/env/lib/python3.13/site-packages/aiofiles/threadpool/utils.pycls_builder)delegate_to_executor.<locals>.cls_builder   s"    IC$9)$DE 
     r   r   s   ` r   delegate_to_executorr          
 r   c                     ^  U 4S jnU$ )Nc                 D   > T H  n[        X[        U5      5        M     U $ r   )r   _make_proxy_methodr   s     r   r   *proxy_method_directly.<locals>.cls_builder   s"    IC$6y$AB 
r   r   r   s   ` r   proxy_method_directlyr      r   r   c                     ^  U 4S jnU$ )Nc                 D   > T H  n[        X[        U5      5        M     U $ r   )r   _make_proxy_propertyr   s     r   r   ,proxy_property_directly.<locals>.cls_builder   s"    IC$8$CD 
r   r   r   s   ` r   proxy_property_directlyr      r   r   c                     ^  U 4S jnU$ )Nc                 D   > T H  n[        X[        U5      5        M     U $ r   )r   _make_cond_delegate_methodr   s     r   r   .cond_delegate_to_executor.<locals>.cls_builder    s"    IC$>y$IJ 
r   r   r   s   ` r   cond_delegate_to_executorr"      r   r   c                    ^  U 4S jnU$ )Nc                    >#    [         R                  " [        U R                  T5      /UQ70 UD6nU R                  R                  U R                  U5      I S h  vN $  N7fr   )	functoolspartialgetattr_file_looprun_in_executor	_executorselfargskwargscbr
   s       r   method%_make_delegate_method.<locals>.method)   sL     wtzz9=OOOZZ//CCCCs   AA"A A"r   r
   r1   s   ` r   r   r   (   s    D Mr   c                    ^  U 4S jnU$ )Nc                 <   > [        U R                  T5      " U0 UD6$ r   r'   r(   )r-   r.   r/   r
   s      r   r1   "_make_proxy_method.<locals>.method1   s    tzz9-t>v>>r   r   r3   s   ` r   r   r   0   s    ? Mr   c                 &   ^  U 4S jn[        U5      $ )Nc                 0   > [        U R                  T5      $ r   r6   )r-   r
   s    r   proxy_property,_make_proxy_property.<locals>.proxy_property8   s    tzz9--r   )property)r
   r:   s   ` r   r   r   7   s    . N##r   c                    ^  U 4S jnU$ )z>For spooled temp files, delegate only if rolled to file objectc                 6  >#    U R                   R                  (       a\  [        R                  " [	        U R                   T5      /UQ70 UD6nU R
                  R                  U R                  U5      I S h  vN $ [	        U R                   T5      " U0 UD6$  N 7fr   )r(   _rolledr%   r&   r'   r)   r*   r+   r,   s       r   r1   *_make_cond_delegate_method.<locals>.methodA   sw     ::""74::y#ASDSFSB33DNNBGGG4::y14B6BB Hs   A3B6B7!Br   r3   s   ` r   r    r    >   s    C Mr   )	r%   r   r   r   r"   r   r   r   r    r   r   r   <module>rA      s0    $
r   