
    hT8                        S SK JrJrJrJr  S SKJr  SSKJr  \" S5      r	\\	S4   r
 \\	S4   r \\	S4   r\\	S4   r\\	S4   r\\	S4   r\\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \\	S4   r \" S\S9r " S	 S
\R>                  5      r \r!S\!S\\/\4   4S jr"\(       d`  S\#S\ 4S jr$0 r%\&" \'" 5       5      RQ                  5        H  u  r)r*\*\\	S4   :X  d  M  \$" \)5      \%\)'   M      \'" 5       RW                  \%5        C%gg)    )TYPE_CHECKINGAnyCallableTypeVar	Annotated   )
_singletonTNCallableType)boundc                       \ rS rSrS rSrg)_Markeri  c                     [         X4   $ Nr   )selfkeys     L/home/james-whalen/.local/lib/python3.13/site-packages/tyro/conf/_markers.py__getitem___Marker.__getitem__  s    #%%     N)__name__
__module____qualname____firstlineno__r   __static_attributes__r   r   r   r   r     s    &r   r   markersreturnc                  0   ^  S[         S[         4U 4S jjnU$ )a1  Decorator for applying configuration options.

.. warning::

    We recommend avoiding this function if possible. For global flags,
    prefer passing ``config=`` to :func:`tyro.cli()` instead.

Consider using the ``config=`` argument of :func:`tyro.cli()` instead, which takes
the same config marker objects as inputs.

Configuration markers are implemented via :py:data:`typing.Annotated` and
straightforward to apply to types, for example:

.. code-block:: python

    field: tyro.conf.FlagConversionOff[bool]

This decorator makes markers applicable to general functions as well:

.. code-block:: python

    # Recursively apply FlagConversionOff to all fields in `main()`.
    @tyro.conf.configure(tyro.conf.FlagConversionOff)
    def main(field: bool) -> None:
        ...

Args:
    markers: Options to apply.
callabler   c                    > TU l         U $ r   )__tyro_markers__)r!   r   s    r   _innerconfigure.<locals>._inner  s    $+!r   )r   )r   r$   s   ` r   	configurer&     s    > , 
 Mr   descriptionc                 6   ^   " U 4S jS[         5      nU" 5       $ )Nc                   "   > \ rS rSrU 4S jrSrg)"_make_marker.<locals>._InnerMarkeri  c                    > T$ r   r   )r   r'   s    r   __repr__+_make_marker.<locals>._InnerMarker.__repr__  s	    ""r   r   N)r   r   r   r   r,   r   )r'   s   r   _InnerMarkerr*     s    # #r   r.   )r   )r'   r.   s   ` r   _make_markerr/     s    	#7 	# ~r   ),typingr   r   r   r   typing_extensionsr    r
   r   
PositionalPositionalRequiredArgs_PositionalCall_UnpackArgsCall_UnpackKwargsCall_OPTIONAL_GROUPFixedSuppressSuppressFixedFlagConversionOffFlagCreatePairsOffAvoidSubcommandsConsolidateSubcommandArgsOmitSubcommandPrefixesOmitArgPrefixesUseAppendActionUseCounterActionEnumChoicesFromValuesHelptextFromCommentsOffDisallowNoner   	Singletonr   Markerr&   strr/   _dynamic_marker_typesdictglobalsitemskvupdater   r   r   <module>rQ      sr   8 8 '  CLq$w

 #1d7+   AtG$ AtG$ag&  AtG$
 	!T'" QW !T'" ag& * q$w' . QW% . &ag. 4 #1d7+ * AtG$2 AtG$2 QW% * "!T'* B $AtG, 6 D!$ ~X6&j"" &
 
$ $8\NL,H#I $N # '  WY%%'1	!T'""'3A!!$ ( I*+ r   