+
    Si-                     
   R t ^ RIt^ RIt^ RIt^ RIHt RaR ltR]R]/]n	        RbR lt
RcR lt ! R R	4      t ! R
 R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R R4      t ! R  R!4      t ! R" R#4      t ! R$ R%4      t ! R& R'4      t ! R( R)4      t ! R* R+4      t ! R, R-4      t ! R. R/4      t ! R0 R14      t  ! R2 R34      t! ! R4 R54      t" ! R6 R74      t# ! R8 R94      t$ ! R: R;4      t% ! R< R=4      t&]PN                  ! R>R?R@.4      t( ! RA RB](4      t) ! RC RD4      t*]*! 4       t+ ! RE RF4      t, ! RG RH4      t-RI t.RJ t/ ! RK RL]04      t1]1! ^^RMRN/4      t2 ! RO RP]Pf                  4      t4 ! RQ RR4      t5RdRS lt6ReRT lt7RU t8 ! RV RW4      t9 ! RX RY4      t: ! RZ R[4      t;R\ t<]<RfR] l4       t=R^ t>RcR_ lt?RgR` lt@R# )hzAThis module has components that are used for testing Python Fire.N)test_components_py3c                     WW#WE3# N )arg1arg2arg3arg4arg5arg6s   &&&&*,S/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/fire/test_components.pyidentityr      s    	T	++    r   r	   c                    W,          # )zMultiplies num by rate.

Args:
  num (int): the num you want to multiply
  rate (int): the rate for multiplication
Returns:
  Multiplication of num by rate
r   )numrates   &&r   multiplier_with_docstringr      s     
r   c                     V # r   r   )helps   &r   function_with_helpr   *   s    	+r   c                       ] tR t^.tRtR# )Emptyr   N__name__
__module____qualname____firstlineno____static_attributes__r   r   r   r   r   .       r   r   c                       ] tR t^2tRtR# )OldStyleEmptyr   Nr   r   r   r   r    r    2   r   r   r    c                   &   a  ] tR t^6t o R tRtV tR# )WithInitc                    R # r   r   selfs   &r   __init__WithInit.__init__8   s    r   r   Nr   r   r   r   r&   r   __classdictcell____classdict__s   @r   r"   r"   6   s     	 	r   r"   c                   *   a  ] tR t^<t o RR ltRtV tR# )ErrorInConstructorc                $    Wn         \        R 4      h)zError in constructor)value
ValueErrorr%   r/   s   &&r   r&   ErrorInConstructor.__init__>   s    J
+
,,r   )r/   Nr(   r*   s   @r   r-   r-   <   s     - -r   r-   c                   .   a  ] tR t^Ct o RtRR ltRtV tR# )WithHelpArgz2Test class for testing when class has a help= arg.c                $    Wn         R R/V n        R# )__helpzhelp in a dictN)has_help
dictionary)r%   r   s   &&r   r&   WithHelpArg.__init__F   s    M!12DOr   )r8   r7   NTr   r   r   r   __doc__r&   r   r)   r*   s   @r   r4   r4   C   s     :3 3r   r4   c                   ,   a  ] tR t^Kt o R tR tRtV tR# )
NoDefaultsc                    ^V,          #    r   r%   counts   &&r   doubleNoDefaults.doubleM       u9r   c                    ^V,          #    r   rB   s   &&r   tripleNoDefaults.tripleP   rF   r   r   Nr   r   r   r   rD   rJ   r   r)   r*   s   @r   r>   r>   K   s      r   r>   c                   B   a  ] tR t^Tt o RtRR ltRR ltRR ltRtV t	R# )	WithDefaultsz1Class with functions that have default arguments.c                    ^V,          # )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   rB   s   &&r   rD   WithDefaults.doubleW   s     u9r   c                    ^V,          # rH   r   rB   s   &&r   rJ   WithDefaults.tripleb   rF   r   c                    V# r   r   )r%   strings   &&r   textWithDefaults.texte   s	    
 Mr   r   N    )P00010203040506070809101112131415161718192021222324252627282930313233343536373839)
r   r   r   r   r<   rD   rJ   rU   r   r)   r*   s   @r   rN   rN   T   s     9	 r   rN   c                   4   a  ] tR t^mt o RR ltRR ltRtV tR# )OldStyleWithDefaultsc                    ^V,          # r@   r   rB   s   &&r   rD   OldStyleWithDefaults.doubleo   rF   r   c                    ^V,          # rH   r   rB   s   &&r   rJ   OldStyleWithDefaults.tripler   rF   r   r   NrW   rL   r*   s   @r   r[   r[   m   s      r   r[   c                   :   a  ] tR t^vt o R tRR ltRR ltRtV tR# )MixedDefaultsc                    ^
# 
   r   r$   s   &r   tenMixedDefaults.tenx   s    r   c                "    V^V,          ,           # r@   r   r%   alphabetas   &&&r   sumMixedDefaults.sum{   s    1t8r   c                    W3# r   r   rh   s   &&&r   r   MixedDefaults.identity~   s
    ;r   r   NrX   rX   )0)	r   r   r   r   re   rk   r   r   r)   r*   s   @r   ra   ra   v   s      r   ra   c                   4   a  ] tR t^t o RR ltRR ltRtV tR# )SimilarArgNamesc                    W3# r   r   )r%   bool_onebool_twos   &&&r   r   SimilarArgNames.identity   s    r   Nc                    W3# r   r   )r%   ari   s   &&&r   	identity2SimilarArgNames.identity2   s	    8Or   r   )FF)NN)r   r   r   r   r   ry   r   r)   r*   s   @r   rr   rr      s      r   rr   c                   *   a  ] tR t^t o RR ltRtV tR# )CapitalizedArgNamesc                    W,           # r   r   )r%   DeltaGammas   &&&r   rk   CapitalizedArgNames.sum   s
    =r   r   N)      ?g       @)r   r   r   r   rk   r   r)   r*   s   @r   r|   r|      s      r   r|   c                   X   a  ] tR t^t o RR ltRR ltR]/]n        R]/]n        RtV t	R# )Annotationsc                    ^V,          # r@   r   rB   s   &&r   rD   Annotations.double   rF   r   c                    ^V,          # rH   r   rB   s   &&r   rJ   Annotations.triple   rF   r   rC   r   NrW   )
r   r   r   r   rD   rJ   float__annotations__r   r)   r*   s   @r   r   r      s.      $U+&#U+&r   r   c                   *   a  ] tR t^t o RtR tRtV tR# )TypedPropertieszDTest class for testing Python Fire with properties of various types.c                    R V n         R
V n        \        4       V n        RRR^ R^R//V n        RR.V n        RV n        RV n        R	# )TechoEnestrx   balexbethanymyexcitingstringN)   rA   rI   )carrydivide)ri   rj   rN   charliedeltar   foxgammar$   s   &r   r&   TypedProperties.__init__   sU    DJDI>DLss
DJ #DI"DH#DJr   )ri   rj   r   r   r   r   r   Nr;   r*   s   @r   r   r      s     L$ $r   r   c                   4   a  ] tR t^t o RtR tRR ltRtV tR# )VarArgsz@Test class for testing Python Fire with a property with varargs.c                `    R p. pV F#  pVf   TpMW$,          pVP                  V4       K%  	  V# r   )append)r%   itemstotalsumsitems   &*   r   cumsumsVarArgs.cumsums   s:    ED	
kk%  Kr   c                (    WR P                  V4      3# ) join)r%   ri   rj   charss   &&&*r   varcharsVarArgs.varchars   s    &&r   r   Nro   )	r   r   r   r   r<   r   r   r   r)   r*   s   @r   r   r      s     H	' 'r   r   c                   ,   a  ] tR t^t o R tR tRtV tR# )Underscoresc                    R V n         R# )zfish fingersNunderscore_exampler$   s   &r   r&   Underscores.__init__   s
    ,Dr   c                    V# r   r   )r%   underscore_args   &&r   underscore_functionUnderscores.underscore_function   s    r   r   N)r   r   r   r   r&   r   r   r)   r*   s   @r   r   r      s     - r   r   c                   *   a  ] tR t^t o RR ltRtV tR# )BoolConverterc                    \        V4      # r   )bool)r%   args   &&r   as_boolBoolConverter.as_bool   s    9r   r   N)F)r   r   r   r   r   r   r)   r*   s   @r   r   r      s      r   r   c                   &   a  ] tR t^t o R tRtV tR# )
ReturnsObjc                    ?\        4       # r   )r   )r%   r   s   &*r   get_objReturnsObj.get_obj   s    ?r   r   N)r   r   r   r   r   r   r)   r*   s   @r   r   r      s      r   r   c                   4   a  ] tR t^t o RR ltRR ltRtV tR# )NumberDefaultsc                    R V,          # r   r   r%   divisors   &&r   
reciprocalNumberDefaults.reciprocal       =r   c                    R V,          # r   r   r   s   &&r   integer_reciprocal!NumberDefaults.integer_reciprocal   r   r   r   N)g      $@rc   )r   r   r   r   r   r   r   r)   r*   s   @r   r   r      s      r   r   c                   ,   a  ] tR t^t o R tR tRtV tR# )InstanceVarsc                    Wn         W n        R # r   r   r   r%   r   r   s   &&&r   r&   InstanceVars.__init__   s    IIr   c                4    V P                   V P                  W3# r   r   r   s   &&&r   runInstanceVars.run   s    IItyy$--r   r   N)r   r   r   r   r&   r   r   r)   r*   s   @r   r   r      s     . .r   r   c                   6   a  ] tR t^t o R tR tRR ltRtV tR# )Kwargsc                    V# r   r   r%   kwargss   &,r   propsKwargs.props   s    Mr   c                n    R P                  \        VP                  4       4      4      P                  4       # ) )r   sortedkeysupperr   s   &,r   r   Kwargs.upper   s%    88F6;;=)*0022r   Nc                
    WV3# r   r   )r%   
positionalnamedr   s   &&&,r   r   
Kwargs.run   s    v&&r   r   r   )	r   r   r   r   r   r   r   r   r)   r*   s   @r   r   r      s     3' 'r   r   c                   &   a  ] tR t^t o R tRtV tR# )ErrorRaiserc                    \        R 4      h)zThis error is part of a test.r0   r$   s   &r   failErrorRaiser.fail   s    
4
55r   r   N)r   r   r   r   r   r   r)   r*   s   @r   r   r      s     6 6r   r   c                   ,   a  ] tR t^t o R tR tRtV tR# )NonComparablec                    \        R 4      hz+Instances of this class cannot be compared.r   r%   others   &&r   __eq__NonComparable.__eq__       
B
CCr   c                    \        R 4      hr   r   r   s   &&r   __ne__NonComparable.__ne__  r   r   r   N)r   r   r   r   r   r   r   r)   r*   s   @r   r   r      s     DD Dr   r   c                   ,   a  ] tR tRt o R tR tRtV tR# )EmptyDictOutputi  c                    / # r   r   r$   s   &r   totally_emptyEmptyDictOutput.totally_empty  s    Ir   c                
    R ^/# )__do_not_print_mer   r$   s   &r   nothing_printable!EmptyDictOutput.nothing_printable  s    ##r   r   N)r   r   r   r   r   r  r   r)   r*   s   @r   r   r     s     $ $r   r   c                   &   a  ] tR tRt o R tRtV tR# )CircularReferencei  c                    / pWR &   V# yr   r%   xs   & r   createCircularReference.create  s    
AcFHr   r   N)r   r   r   r   r  r   r)   r*   s   @r   r  r    s      r   r  c                   ,   a  ] tR tRt o R tR tRtV tR# )OrderedDictionaryi  c                ,    \         P                  ! 4       # r   collectionsOrderedDictr$   s   &r   emptyOrderedDictionary.empty  s    ""$$r   c                D    \         P                  ! 4       pR VR &   ^V^&   V# )Ar  )r%   ordered_dicts   & r   	non_emptyOrderedDictionary.non_empty  s)    **,LLLOr   r   N)r   r   r   r   r  r  r   r)   r*   s   @r   r  r    s     % r   r  c                   0   a  ] tR tRt o RtR tR tRtV tR# )
NamedTuplei#  z2Functions returning named tuples used for testing.c                H    \         P                  ! RRR.4      pV! ^^R7      # )z(Point example straight from Python docs.Pointr
  r  r  r  
namedtupler%   r  s   & r   pointNamedTuple.point&  s&     ""7S#J7Er?r   c                H    \         P                  ! RRR.4      pV! RRR7      # )zField name equals value.r  r
  r  r
  r  r  r   s   & r   matching_namesNamedTuple.matching_names,  s'     ""7S#J7E3#r   r   N)	r   r   r   r   r<   r!  r%  r   r)   r*   s   @r   r  r  #  s     : r   r  c                   4   a  ] tR tRt o Rt^tR tR tRtV t	R# )CallableWithPositionalArgsi3  #Test class for supporting callable.c                    W,           # r   r   )r%   r
  r  s   &&&r   __call__#CallableWithPositionalArgs.__call__8  s	    5Lr   c                    V^,           # r   r   r	  s   &&r   fnCallableWithPositionalArgs.fn;  s    q5Lr   r   N)
r   r   r   r   r<   TESTr+  r/  r   r)   r*   s   @r   r(  r(  3  s     +	
$ r   r(  NamedTuplePointr
  r  c                   *   a  ] tR tRt o RtR tRtV tR# )SubPointiB  z@Used for verifying subclasses of namedtuples behave as intended.c                <    V P                   V P                  ,           # r   r$  r$   s   &r   coordinate_sumSubPoint.coordinate_sumE  s    66DFF?r   r   N)r   r   r   r   r<   r6  r   r)   r*   s   @r   r4  r4  B  s     H r   r4  c                   0   a  ] tR tRt o RtR tR tRtV tR# )CallableWithKeywordArgumentiI  r)  c                l    VP                  4        F  w  r#\        R P                  W#4      4       K!  	  R# )z{}: {}N)r   printformat)r%   r   keyr/   s   &,  r   r+  $CallableWithKeywordArgument.__call__L  s%    lln
HOOC'( %r   c                    \        V4       R # r   r;  r%   msgs   &&r   	print_msg%CallableWithKeywordArgument.print_msgP  s	    	#Jr   r   N)	r   r   r   r   r<   r+  rC  r   r)   r*   s   @r   r9  r9  I  s     +) r   r9  c                   8   a  ] tR tRt o RtRR ltRR ltRtV tR# )	ClassWithDocstringiW  z^Test class for testing help text output.

This is some detail description of this test class.
c                    Wn         R# )z|Constructor of the test class.

Constructs a new ClassWithDocstring object.

Args:
  message: The default message to print.
Nmessage)r%   rI  s   &&r   r&   ClassWithDocstring.__init__]  s	     Lr   Nc                <    Vf   V P                   p\        V4       R# )zPrints a message.N)rI  r;  rA  s   &&r   rC  ClassWithDocstring.print_msgg  s    
{LLc	#Jr   rH  )zHello!r   )	r   r   r   r   r<   r&   rC  r   r)   r*   s   @r   rF  rF  W  s     
 r   rF  c                   4   a  ] tR tRt o Rt]R 4       tRtV tR# )ClassWithMultilineDocstringin  zTest class for testing help text output with multiline docstring.

This is a test class that has a long docstring description that spans across
multiple lines for testing line breaking in help text.
c              #  8   "   \        V 4       Rj  xL
  R#  L5i)a  Generators have a ``Yields`` section instead of a ``Returns`` section.

Args:
    n (int): The upper limit of the range to generate, from 0 to `n` - 1.

Yields:
    int: The next number in the range of 0 to `n` - 1.

Examples:
    Examples should be written in doctest format, and should illustrate how
    to use the function.

    >>> print([i for i in example_generator(4)])
    [0, 1, 2, 3]

N)range)ns   &r   example_generator-ClassWithMultilineDocstring.example_generatoru  s     $ Qxs   r   N)	r   r   r   r   r<   staticmethodrR  r   r)   r*   s   @r   rN  rN  n  s       r   rN  c                  
    0 Rm# r   >   threer   rA   r   r   r   r   
simple_setrX    s    	r   c                      \        0 Rm4      # rV  )	frozensetr   r   r   simple_frozensetr[    s    	?	##r   c                       ] tR tRtRtRtR# )Subdicti  z)A subclass of dict, for testing purposes.r   N)r   r   r   r   r<   r   r   r   r   r]  r]    s    1r   r]  redbluec                   "    ] tR tRt^t^t^tRtR# )Colori  r   N)r   r   r   r   REDGREENBLUEr   r   r   r   ra  ra    s    	#
%	
$r   ra  c                   N   a  ] tR tRt o Rt^tR t]R 4       t]	R 4       t
RtV tR# )HasStaticAndClassMethodsi  z0A class with a static method and a class method.c                    Wn         R # r   instance_state)r%   ri  s   &&r   r&   !HasStaticAndClassMethods.__init__  s    (r   c                    V # r   r   )argss   &r   	static_fn"HasStaticAndClassMethods.static_fn  s    Kr   c                &    WP                   ,           # r   )CLASS_STATE)clsrl  s   &&r   class_fn!HasStaticAndClassMethods.class_fn  s    //!!r   rh  N)r   r   r   r   r<   rp  r&   rT  rm  classmethodrr  r   r)   r*   s   @r   rf  rf    s:     8+)   " "r   rf  c                    ? ??V# )zFunction with varargs.

Args:
  arg1: Position arg docstring.
  arg2: Position arg docstring.
  arg3: Flags docstring.
  *varargs: Accepts unlimited positional args.
Returns:
  The unlimited positional args.
r   )r   r   r   varargss   &&&*r   function_with_varargsrw    s     D$	.r   c                 
    ?W3# r   r   r   r   r   s   &&,r   function_with_keyword_argumentsrz    s    
	r   c                     R# )zThis has code in the docstring.



Example:
  x = fn_with_code_in_docstring()
  indentation_matters = True



Returns:
  True.
Tr   r   r   r   fn_with_code_in_docstringr|    s     
r   c                   R   a  ] tR tRt o RtRR ltR tR tR tR t	R t
R	 tR
tV tR# )BinaryCanvasi  z:A canvas with which to make binary art, one bit at a time.c                    \        V4       Uu. uF  p^ .V,          NK  	  upV n        Wn        ^ V n        ^ V n        R# u upi )rX   N)rP  pixels_size_row_col)r%   size_s   && r   r&   BinaryCanvas.__init__  s<    ',T{3{!A3::{3DKJDIDI 4s   ?c                F    R P                  R V P                   4       4      # )
c              3   R   "   T F  pR P                  R V 4       4      x  K  	  R# 5i)r   c              3   8   "   T F  p\        V4      x  K  	  R # 5ir   )str).0pixels   & r   	<genexpr>1BinaryCanvas.__str__.<locals>.<genexpr>.<genexpr>  s     -Us   Nr   )r  rows   & r   r  'BinaryCanvas.__str__.<locals>.<genexpr>  s&      F9D#----s   %')r   r  r$   s   &r   __str__BinaryCanvas.__str__  s(    99 F9=F F Fr   c                    \        V 4       V # r   r@  r$   s   &r   showBinaryCanvas.show  s    	$KKr   c                b    WP                   ,          V n        W P                   ,          V n        V # r   )r  r  r  )r%   r  cols   &&&r   moveBinaryCanvas.move  s#    jj DIjj DIKr   c                $    V P                  ^4      # r.  setr$   s   &r   onBinaryCanvas.on      88A;r   c                $    V P                  ^ 4      # rW   r  r$   s   &r   offBinaryCanvas.off  r  r   c                X    WP                   V P                  ,          V P                  &   V # r   )r  r  r  r1   s   &&r   r  BinaryCanvas.set  s     (-KK		499%Kr   )r  r  r  r  Nrc   )r   r   r   r   r<   r&   r  r  r  r  r  r  r   r)   r*   s   @r   r~  r~    s1     BF
 r   r~  c                   ,   a  ] tR tRt o R tR tRtV tR# )DefaultMethodi  c                    ^V,          # r@   r   r%   numbers   &&r   rD   DefaultMethod.double      v:r   c                    R  pV# )c                      R # )zUndefined functionr   r   r   r   _missing+DefaultMethod.__getattr__.<locals>._missing  s    !r   r   )r%   namer  s   && r   __getattr__DefaultMethod.__getattr__  s    "Or   r   N)r   r   r   r   rD   r  r   r)   r*   s   @r   r  r    s      r   r  c                   6   a  ] tR tRt o R t]R 4       tRtV tR# )InvalidPropertyi  c                    ^V,          # r@   r   r  s   &&r   rD   InvalidProperty.double  r  r   c                    \        R 4      h)testr   r$   s   &r   propInvalidProperty.prop  s    
V
r   r   N)	r   r   r   r   rD   propertyr  r   r)   r*   s   @r   r  r    s       r   r  c                 F   a  \         P                  ! S 4      V 3R  l4       pV# )c                     < S! V / VB # r   r   )rl  r   fs   *,r   wrapper!simple_decorator.<locals>.wrapper  s    dfr   )	functoolswraps)r  r  s   f r   simple_decoratorr    s#    ??1 	.r   c                     R V ,          # )zHello %sr   )r  s   &r   decorated_methodr    s    	d	r   c                (    ? ?VP                  R4      # )zzFunction with kwarg.

:param arg1: Description of arg1.
:param arg2: Description of arg2.
:key arg3: Description of arg3.
r   getry  s   &&,r   fn_with_kwargr    s     D	F	r   c                *    ? ??VP                  R4      # )zFunction with kwarg and defaults.

:param arg1: Description of arg1.
:param arg2: Description of arg2.
:key arg3: Description of arg3.
r   r  )r   r   optr   s   &&&,r   fn_with_kwarg_and_defaultsr  $  s     D#	F	r   c                
    ??V # )zFunction with kwarg and defaults.

:key first: Description of first.
:key last: Description of last.
:key late: Description of late.
r   firstlastlates   &&&r   fn_with_multiple_defaultsr  /  s     D	,r   )rd      r@   r:   r.  rH   )Worldr  )Ar<   r  enumr  firer   py3r   intr   r   r   r   r    r"   r-   r4   r>   rN   r[   ra   rr   r|   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r(  r  r2  r4  r9  CALLABLE_WITH_KEYWORD_ARGUMENTrF  rN  rX  r[  dictr]  SUBDICTEnumra  rf  rw  rz  r|  r~  r  r  r  r  r  r  r  r   r   r   <module>r     s2   H    +, #C5 	  	 	- -3 3  2 	 	  	, 	,$ $&' '$    . .	' 	'6 6D D$ $ 	 	  	 	 (():S#JG   "=!>  . 8$2d 2
 1a'
(DII " ""
" B    
r   