
    |hZ	              
           d Z ddlZddlZddlmZ dddddeded	ed
efdZ G d d      Z G d d      Z G d d      Z	 ej                         d        Z G d d      Z G d d      Z G d d      Zy)z=This module has components that use Python 3 specific syntax.    N)Tuple   (   )arg8arg9arg2arg4arg7r   c          
          | |||||||||	f
S N )
arg1r   arg3r	   arg6r
   r   r   arg5arg10s
             W/var/www/html/test/engine/venv/lib/python3.12/site-packages/fire/test_components_py3.pyidentityr      s    	tT4tT4u	DD    c                       e Zd ZdddZy)HelpTextComponent0)betac                
    ||fS r   r   )selfalphar   s      r   r   zHelpTextComponent.identity   s    $;r   N)__name__
__module____qualname__r   r   r   r   r   r      s
    $' r   r   c                   $    e Zd Zd Zd ZdddZy)KeywordOnlyc                    |dz  S N   r   r   counts     r   doublezKeywordOnly.double$       19r   c                    |dz  S )N   r   r%   s     r   triplezKeywordOnly.triple'   r(   r   x)r,   c                     t        d|z          y )Nzx: )print)r   r,   s     r   with_defaultzKeywordOnly.with_default*   s    	%!)r   N)r   r   r   r'   r+   r/   r   r   r   r!   r!   "   s     " r   r!   c                   :    e Zd Z ej                         d        Zy)LruCacheDecoratedMethodc                     |S r   r   )r   r   s     r   lru_cache_in_classz*LruCacheDecoratedMethod.lru_cache_in_class0   s    Kr   N)r   r   r   	functools	lru_cacher3   r   r   r   r1   r1   .   s    9 r   r1   c                     | S r   r   )r   s    r   lru_cache_decoratedr7   5   s    	+r   c                       e Zd ZddZy)WithAsyncioc                    K   d|z  S wr#   r   r%   s     r   r'   zWithAsyncio.double<   s     u9s   Nr   )r   r   r   r'   r   r   r   r9   r9   :   s    r   r9   c                   t    e Zd ZdZdedefdZdeeeeeeeeeeeee                                    fdZy)	WithTypes;Class with functions that have default arguments and types.r&   returnc                     d|z  S zReturns the input multiplied by 2.

    Args:
      count: Input number that you want to double.

    Returns:
      A number that is the double of count.
    r$   r   r%   s     r   r'   zWithTypes.doubleC        u9r   long_objc                     |S r   r   )r   rC   s     r   	long_typezWithTypes.long_typeN   s	    
 Or   N)	r   r   r   __doc__floatr'   r   intrE   r   r   r   r=   r=   @   so    C	% 	E 	uU5uU
eE%*-./
062 03 *4 $5 6 7 8r   r=   c                   0    e Zd ZdZddedefdZd	defdZy)
WithDefaultsAndTypesr>   r&   r?   c                     d|z  S rA   r   r%   s     r   r'   zWithDefaultsAndTypes.doubleY   rB   r   Nvaluec                     |dS |S )Nr   r   )r   rL   s     r   get_intzWithDefaultsAndTypes.get_intd   s    1(5(r   r;   r   )r   r   r   rF   rG   r'   rH   rN   r   r   r   rJ   rJ   V   s$    C	% 	 	)3 )r   rJ   )
      )rF   asyncior4   typingr   rH   r   r   r!   r1   r5   r7   r9   r=   rJ   r   r   r   <module>rS      s    D   E#%2E ES EE-0E
 	 	     ,) )r   