+
    QV-jM  ã            
       ó>  € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIHtHtHt ^ RI	H
t
Ht ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHtHtHtHtHt ^ RIt]! R	]4      t]! R
]4      tR tR R ltRRRRR] P<                  R] P<                  RR/R R llt ! R R]4      t R# )é    N)ÚArgumentDefaultsHelpFormatterÚArgumentParserÚArgumentTypeError)ÚCallableÚIterable)Úcopy)ÚEnum)Úisclass)ÚPath)ÚAnyÚLiteralÚNewTypeÚUnionÚget_type_hintsÚ	DataClassÚDataClassTypec                 ó¬   € \        V \        4      '       d   V # V P                  4       R9   d   R# V P                  4       R9   d   R# \        RV  R24      h)ÚyesTFzTruthy value expected: got zJ but expected one of yes/no, true/false, t/f, y/n, 1/0 (case insensitive).)r   ÚtrueÚtÚyÚ1)ÚnoÚfalseÚfÚnÚ0)Ú
isinstanceÚboolÚlowerr   )Úvs   &Új/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/transformers/hf_argparser.pyÚstring_to_boolr#   $   sR   € Ü�!”T×ÒØˆØ‡w�wƒyÐ2Ô2ÙØ	
�‰‹Ð4Ô	4ÙäØ)¨!¨Ð,vÐwó
ð 	
ó    c                óT   € V ^8„  d   QhR\         R\        \        .\        3,          /# )é   ÚchoicesÚreturn)Úlistr   Ústrr   )Úformats   "r"   Ú__annotate__r,   1   s%   € ÷ 3ñ 3¤tð 3´¼#¸Ä¸Õ0Dñ 3r$   c                óR   a€ V  Uu/ uF  p\        V4      VbK  	  upoV3R l# u upi )a2  
Creates a mapping function from each choices string representation to the actual value. Used to support multiple
value types for a single argument.

Args:
    choices (list): List of choices.

Returns:
    Callable[[str], Any]: Mapping function from string representation to actual value for each choice.
c                 ó&   <€ SP                  W 4      # ©N)Úget)ÚargÚstr_to_choices   &€r"   Ú<lambda>Ú+make_choice_type_function.<locals>.<lambda>=   s   ø€ �}×(Ñ(¨Ô2r$   )r*   )r'   Úchoicer2   s   & @r"   Úmake_choice_type_functionr6   1   s.   ø€ ñ 8?Ó?±w¨V”S˜“[ &Ò(±wÑ?€MÜ2Ð2ùò @s   †$ÚaliasesÚhelpÚdefaultÚdefault_factoryÚmetadatac                óä   € V ^8„  d   QhR\         \        \         ,          ,          R,          R\         R,          R\        R\        . \        3,          R\        R,          R\
        P                  /# )r&   r7   Nr8   r9   r:   r;   r(   )r*   r)   r   r   ÚdictÚdataclassesÚField)r+   s   "r"   r,   r,   @   sr   € ÷ ,lñ ,lä”4œ•9�_˜tÕ#ð,lô ��*ð,lô ð	,lô
 ˜b¤#˜gÕ&ð,lô �T�kð,lô ×Ññ,lr$   c           	     óf   € Vf   / pV e   WR&   Ve   WR&   \         P                  ! RRVRVRV/VB # )a›  Argument helper enabling a concise syntax to create dataclass fields for parsing with `HfArgumentParser`.

Example comparing the use of `HfArg` and `dataclasses.field`:
```
@dataclass
class Args:
    regular_arg: str = dataclasses.field(default="Huggingface", metadata={"aliases": ["--example", "-e"], "help": "This syntax could be better!"})
    hf_arg: str = HfArg(default="Huggingface", aliases=["--example", "-e"], help="What a nice syntax!")
```

Args:
    aliases (Union[str, list[str]], optional):
        Single string or list of strings of aliases to pass on to argparse, e.g. `aliases=["--example", "-e"]`.
        Defaults to None.
    help (str, optional): Help string to pass on to argparse that can be displayed with --help. Defaults to None.
    default (Any, optional):
        Default value for the argument. If not default or default_factory is specified, the argument is required.
        Defaults to dataclasses.MISSING.
    default_factory (Callable[[], Any], optional):
        The default_factory is a 0-argument function called to initialize a field's value. It is useful to provide
        default values for mutable types, e.g. lists: `default_factory=list`. Mutually exclusive with `default=`.
        Defaults to dataclasses.MISSING.
    metadata (dict, optional): Further metadata to pass on to `dataclasses.field`. Defaults to None.

Returns:
    Field: A `dataclasses.Field` with the desired properties.
r7   r8   r;   r9   r:   © )r>   Úfield)r7   r8   r9   r:   r;   Úkwargss   $$$$$,r"   ÚHfArgrD   @   sQ   € ðH ÒàˆØÒØ%�ÑØÒØ�Ñä×ÒÑk hÐk¸ÐkÐQ`ÐkÐdjÑkÐkr$   c                   óØ   a a€ ] tR t^ot oRtRV3R lV 3R lllt]V3R lR l4       tV3R lR ltRV3R lR	 llt	RV3R
 lR llt
RV3R lR lltRV3R lR lltV3R ltRtVtV ;t# )ÚHfArgumentParseraà  
This subclass of `argparse.ArgumentParser` uses type hints on dataclasses to generate arguments.

The class is designed to play well with the native argparse. In particular, you can add more (non-dataclass backed)
arguments to the parser after initialization and you'll get the output back after parsing as an additional
namespace. Optional: To create sub argument groups use the `_argument_group_name` attribute in the dataclass.

Args:
    dataclass_types (`DataClassType` or `Iterable[DataClassType]`, *optional*):
        Dataclass type, or list of dataclass types for which we will "fill" instances with the parsed args.
    kwargs (`dict[str, Any]`, *optional*):
        Passed to `argparse.ArgumentParser()` in the regular way.
c                óN   <€ V ^8„  d   QhRS[ S[S[ ,          ,          R,          /# )r&   Údataclass_typesN)r   r   )r+   Ú__classdict__s   "€r"   r,   ÚHfArgumentParser.__annotate__€   s$   ø€ ÷ 1ñ 1©¹ÁÕ8OÕ(OÐRVÕ(Vñ 1r$   c                ó.  <€ Vf   . pM\        V\        4      '       g   V.pRV9  d
   \        VR&   \        SV `  ! R/ VB  \
        P                  ! V4      '       d   V.p\        V4      V n        V P                   F  pV P                  V4       K  	  R # )NÚformatter_classrA   )
r   r   r   ÚsuperÚ__init__r>   Úis_dataclassr)   rH   Ú_add_dataclass_arguments)ÚselfrH   rC   ÚdtypeÚ	__class__s   &&, €r"   rN   ÚHfArgumentParser.__init__€   sŒ   ø€ àÒ"Ø ‰OÜ˜O¬X×6Ò6Ø.Ð/ˆOð  FÔ*Ü(EˆFÐ$Ñ%Ü‰ÒÑ"˜6Ò"Ü×#Ò# O×4Ò4Ø.Ð/ˆOÜ# OÓ4ˆÔØ×)Ô)ˆEØ×)Ñ)¨%Ö0ó *r$   c                ó:   <€ V ^8„  d   QhRS[ RS[P                  /# )r&   ÚparserrB   )r   r>   r?   )r+   rI   s   "€r"   r,   rJ   ’   s%   ø€ ÷ gñ g¡~ð g¹k×>OÑ>Oñ gr$   c                óÊ  € R VP                    2.pRVP                   9   d/   VP                  R VP                   P                  RR4       24       VP                  P	                  4       p\        VP                  \        4      '       d   \        R4      hVP                  R. 4      p\        V\        4      '       d   V.p\        VP                  RVP                  4      pV\        J g9   \        \        R4      '       Edø   \        V\        P                  4      '       Ed×   \        VP                  P                  9  db   \!        VP                  P                  4      ^8w  g%   \        R4      VP                  P                  9  d   \#        RVP                    R	24      h\        R4      VP                  P                  9  d‡   VP                  P                  ^,          \        J d   VP                  P                  ^ ,          MVP                  P                  ^,          Vn        \        VP                  RVP                  4      pM¬\$        VP                  P                  9  dŽ   \        RVP                  P                  ^,          4      '       d   VP                  P                  ^ ,          MVP                  P                  ^,          Vn        \        VP                  RVP                  4      p/ pV\&        J gA   \        VP                  \        4      '       d¸   \)        VP                  \*        4      '       d˜   V\&        J d   VP                  P                  VR
&   M(VP                   Uu. uF  qwP,                  NK  	  upVR
&   \/        VR
,          4      VR&   VP0                  \2        P4                  Jd   VP0                  VR&   EMÝRVR&   EMÖVP                  \$        J g   VP                  \$        R,          8X  d‘   \	        V4      p\6        VR&   VP                  \$        J g-   VP0                  eY   VP0                  \2        P4                  Jd;   VP0                  \2        P4                  J d   RMVP0                  pWƒR&   RVR&   RVR&   EM\9        V4      '       d’   \)        V\:        4      '       d|   VP                  P                  ^ ,          VR&   RVR&   VP<                  \2        P4                  Jd   VP=                  4       VR&   M˜VP0                  \2        P4                  J d   RVR&   MtVP                  VR&   VP0                  \2        P4                  Jd   VP0                  VR&   M7VP<                  \2        P4                  Jd   VP=                  4       VR&   MRVR&   V P>                  ! . VOVO5/ VB  VP0                  RJ d†   VP                  \$        J g   VP                  \$        R,          8X  dT   RVR&   V P>                  ! RVP                    2RVP                   P                  RR4       23RRRVP                   /VB  R# R# R# u upi )z--Ú_Ú-zpUnresolved type detected, which should have been done with the help of `typing.get_type_hints` method by defaultr7   Ú
__origin__Ú	UnionTypeNz¦Only `Union[X, NoneType]` (i.e., `Optional[X]`) is allowed for `Union` because the argument parser only supports one type per argument. Problem encountered in field 'z'.r'   Útyper9   TÚrequiredFÚ?ÚnargsÚconstÚ+z--no_z--no-ÚactionÚstore_falseÚdest) ÚnameÚappendÚreplacer;   r   r   r\   r*   ÚRuntimeErrorÚpopÚgetattrr   ÚhasattrÚtypesr[   Ú__args__ÚlenÚ
ValueErrorr   r   Ú
issubclassr	   Úvaluer6   r9   r>   ÚMISSINGr#   r
   r)   r:   Úadd_argument)	rV   rB   Úlong_optionsrC   r7   Úorigin_typeÚbool_kwargsÚxr9   s	   &&       r"   Ú_parse_dataclass_fieldÚ'HfArgumentParser._parse_dataclass_field‘   s÷  € ð ˜UŸZ™Z˜LÐ)Ð*ˆØ�%—*‘*ÔØ×Ñ " U§Z¡Z×%7Ñ%7¸¸SÓ%AÐ$BÐ CÔDà—‘×$Ñ$Ó&ˆô �e—j‘j¤#×&Ò&Üð<óð ð
 —*‘*˜Y¨Ó+ˆÜ�gœs×#Ò#Ø�iˆGä˜eŸj™j¨,¸¿
¹
ÓCˆØœ%Ó¤G¬E°;×$?Ó$?ÄJÈ{Ô\a×\kÑ\k×DlÓDlÜ˜%Ÿ*™*×-Ñ-Ô-Ü�E—J‘J×'Ñ'Ó(¨AÔ-´°d³À5Ç:Á:×CVÑCVÔ1Vä ð6à6;·j±j°\ÀðEóð ô
 �D‹z §¡×!4Ñ!4Ô4à7<·z±z×7JÑ7JÈ1Õ7MÔQTÓ7T˜UŸZ™Z×0Ñ0°Ö3ÐZ_×ZdÑZd×ZmÑZmÐnoÕZp�”
Ü% e§j¡j°,ÀÇ
Á
ÓK‘Ü˜UŸZ™Z×0Ñ0Ô0ô /9¸¸u¿z¹z×?RÑ?RÐSTÕ?U×.VÒ.V�E—J‘J×'Ñ'¨Ö*Ð\a×\fÑ\f×\oÑ\oÐpqÕ\rð ”
ô & e§j¡j°,ÀÇ
Á
ÓK�ð ˆØœ'Ó!¤j°·±¼T×&BÒ&BÄzÐRW×R\ÑR\Ô^b×GcÒGcØœgÓ%Ø$)§J¡J×$7Ñ$7��yÒ!à6;·j²jÓ$A±j°§W¤W±jÑ$A��yÑ!ä6°v¸iÕ7HÓIˆF�6‰Nà�}‰}¤K×$7Ñ$7Ó7Ø$)§M¡M��yÓ!à%)��zÓ"Ø�Z‰Zœ4Ó 5§:¡:´¸µÔ#<ô ˜v›,ˆKô ,ˆF�6‰NØ�z‰zœTÓ! e§m¡mÒ&?ÀEÇMÁMÔYd×YlÑYlÓDlà#(§=¡=´K×4GÑ4GÓ#G™%ÈUÏ]É]�à$+�yÑ!à"%��w‘à"&��w‘ùÜ�[×!Ò!¤j°¼d×&CÒ&CØ"ŸZ™Z×0Ñ0°Õ3ˆF�6‰NØ!ˆF�7‰OØ×$Ñ$¬K×,?Ñ,?Ó?Ø$)×$9Ñ$9Ó$;��yÒ!Ø—‘¤+×"5Ñ"5Ó5Ø%)��zÑ"øà"ŸZ™ZˆF�6‰NØ�}‰}¤K×$7Ñ$7Ó7Ø$)§M¡M��yÒ!Ø×&Ñ&¬k×.AÑ.AÓAØ$)×$9Ñ$9Ó$;��yÒ!à%)��zÑ"Ø×ÒÐ>˜\Ð>¨GÒ>°vÒ>ð �=‰=˜DÓ  e§j¡j´DÓ&8¸E¿J¹JÌ$ÐQUÍ+Ô<UØ%*ˆK˜	Ñ"Ø×ÒØ˜Ÿ
™
�|Ð$Ø˜Ÿ
™
×*Ñ*¨3°Ó4Ð5Ð6ñð %ðð —Z‘Zð	ð
 ôñ =VÑ ùò[ %Bs   Í7Y c                ó    <€ V ^8„  d   QhRS[ /# )r&   rR   )r   )r+   rI   s   "€r"   r,   rJ   û   s   ø€ ÷ 7ñ 7©mñ 7r$   c                ól  € \        VR 4      '       d   V P                  VP                  4      pMT p \        V4      p\        P                  ! T4       F?  pTP                  '       g   K  Y4P                  ,          Tn
        T P                  Y$4       KA  	  R#   \         d    \        RT R24      hi ; i)Ú_argument_group_namezType resolution failed for zž. Try declaring the class in global scope or removing line of `from __future__ import annotations` which opts in Postponed Evaluation of Annotations (PEP 563)N)rk   Úadd_argument_groupr|   r   Ú	NameErrorrh   r>   ÚfieldsÚinitre   r\   rx   )rQ   rR   rV   Ú
type_hintsrB   s   &&   r"   rP   Ú)HfArgumentParser._add_dataclass_argumentsû   s¨   € Ü�5Ð0×1Ò1Ø×,Ñ,¨U×-GÑ-GÓH‰FàˆFð	Ü*8¸Ó*?ˆJô !×'Ò'¨Ö.ˆEØ—:—:�:ÙØ#§J¡JÕ/ˆEŒJØ×'Ñ'¨Ö6ó	 /øô ô 	ÜØ-¨e¨Wð 56ð 6óð ð	ús   ²B ÂB3c                ó4   <€ V ^8„  d   QhRS[ S[R3,          /# )r&   r(   .)Útupler   )r+   rI   s   "€r"   r,   rJ     s#   ø€ ÷ Tñ Tñ 
‰y˜#ˆ~Õ	ñTr$   c                ó
  € V'       g2   V'       g*   V'       Ed¶   \        \        P                  4      '       Ed–   . pV'       d   VP                  \	        V4      4       MeV'       d^   \        \        P                  4      '       d?   VP                  \	        \        P                  ^ ,          4      P                  R4      4       V'       d“   \        4       pVP                  V\        RR7       VP                  VR7      w  r�\        V4      P                  VP                  R4      R4      p	V	'       d+   TP                  V	 U
u. uF  p
\	        V
4      NK  	  up
4       . pV F?  pVP                  4       '       g   K  W¼P                  4       P!                  4       ,          pKA  	  Ve	   W±,           MV\        P                  R,          ,           pV P                  VR7      w  rÞ. pV P"                   F«  p\$        P&                  ! V4       Uu0 uF#  pVP(                  '       g   K  VP*                  kK%  	  pp\        V4      P-                  4        UUu/ uF  w  ppVV9   g   K  VVbK  	  pppV F  p\/        VV4       K  	  V! R	/ VB pVP                  V4       K­  	  \        VP0                  4      ^ 8”  d   VP                  V4       V'       d   . VOVN5# V'       d   \3        RV 24      h. VO5# u up
i u upi u uppi )
am  
Parse command-line args into instances of the specified dataclass types.

This relies on argparse's `ArgumentParser.parse_known_args`. See the doc at:
docs.python.org/3/library/argparse.html#argparse.ArgumentParser.parse_args

Args:
    args:
        List of strings to parse. The default is taken from sys.argv. (same as argparse.ArgumentParser)
    return_remaining_strings:
        If true, also return a list of remaining argument strings.
    look_for_args_file:
        If true, will look for a ".args" file with the same base name as the entry point script for this
        process, and will append its potential content to the command line args.
    args_filename:
        If not None, will uses this file instead of the ".args" file specified in the previous argument.
    args_file_flag:
        If not None, will look for a file in the command-line args specified with this flag. The flag can be
        specified multiple times and precedence is determined by the order (last one wins).

Returns:
    Tuple consisting of:

        - the dataclass instances in the same order as they were passed to the initializer.abspath
        - if applicable, an additional namespace for more (non-dataclass backed) arguments added to the parser
          after initialization.
        - The potential list of remaining argument strings. (same as argparse.ArgumentParser.parse_known_args)
z.argsrf   )r\   rb   )ÚargsrY   N:é   NNz?Some specified arguments are not used by the HfArgumentParser: rA   )rn   ÚsysÚargvrf   r   Úwith_suffixr   rs   r*   Úparse_known_argsÚvarsr0   ÚlstripÚextendÚexistsÚ	read_textÚsplitrH   r>   r   r€   re   ÚitemsÚdelattrÚ__dict__ro   )rQ   r†   Úreturn_remaining_stringsÚlook_for_args_fileÚargs_filenameÚargs_file_flagÚ
args_filesÚargs_file_parserÚcfgÚcmd_args_file_pathsÚpÚ	file_argsÚ	args_fileÚ	namespaceÚremaining_argsÚoutputsrR   r   ÚkeysÚkr!   ÚinputsÚobjs   &&&&&&                 r"   Úparse_args_into_dataclassesÚ,HfArgumentParser.parse_args_into_dataclasses  s`  € ÷J Ÿ]×/AÐ/AÄcÌ#Ï(É(ÇmÃmØˆJçØ×!Ñ!¤$ }Ó"5Õ6ß#¬¬C¯H©H¯ªØ×!Ñ!¤$¤s§x¡x°¥{Ó"3×"?Ñ"?ÀÓ"HÔI÷ ä#1Ó#3Ð Ø ×-Ñ-¨nÄ3ÈxÐ-ÔXð -×=Ñ=À4Ð=ÓH‘	�Ü&*¨3£i§m¡m°N×4IÑ4IÈ#Ó4NÐPTÓ&UÐ#ç&Ø×%Ñ%Ñ8KÓ&LÑ8K°1¤t¨A¦wÑ8KÑ&LÔMàˆIÛ'�	Ø×#Ñ#×%Ô%Ø×!4Ñ!4Ó!6×!<Ñ!<Ó!>Õ>’Iñ (ð (,Ò'7�9Ö#¸YÌÏÉÐRTÍÕ=UˆDØ$(×$9Ñ$9¸tÐ$9Ó$DÑ!ˆ	ØˆØ×)Ô)ˆEÜ$/×$6Ò$6°uÔ$=ÓHÑ$=˜qÀÇÅ”F�A—F”FÑ$=ˆDÐHÜ'+¨I£×'<Ñ'<Ô'>ÔLÑ'>™t˜q !À!ÀtÁ)”d�a˜’dÑ'>ˆFÑLÛ�Ü˜	 1Ö%ñ á‘/˜&‘/ˆCØ�N‰N˜3Öñ *ô ˆy×!Ñ!Ó" QÔ&à�N‰N˜9Ô%ß#Ø-�WÐ-˜nÑ-Ð-çÜ Ð#bÐcqÐbrÐ!sÓtÐtà�W‘;Ðùò9 'Mùò IùÛLs   ÅK5ÈK:È%K:ÉK?É$K?c                óV   <€ V ^8„  d   QhRS[ S[S[3,          RS[RS[S[R3,          /# )r&   r†   Úallow_extra_keysr(   .)r=   r*   r   r   r„   r   )r+   rI   s   "€r"   r,   rJ   f  s7   ø€ ÷ ñ ™t¡C© H�~ð Áð ÑRWÑXaÐcfÐXfÕRgñ r$   c                ó"  € \        VP                  4       4      p. pV P                   F¨  p\        P                  ! V4       Uu0 uF"  qfP
                  '       g   K  VP                  kK$  	  ppVP                  4        UU	u/ uF  w  r‰W‡9   g   K  W‰bK  	  p
pp	VP                  V
P                  4       4       V! R/ V
B pVP                  V4       Kª  	  V'       g    V'       d   \        R\        V4       24      h\        V4      # u upi u up	pi )aä  
Alternative helper method that does not use `argparse` at all, instead uses a dict and populating the dataclass
types.

Args:
    args (`dict`):
        dict containing config values
    allow_extra_keys (`bool`, *optional*, defaults to `False`):
        Defaults to False. If False, will raise an exception if the dict contains keys that are not parsed.

Returns:
    Tuple consisting of:

        - the dataclass instances in the same order as they were passed to the initializer.
z0Some keys are not used by the HfArgumentParser: rA   )Úsetr£   rH   r>   r   r€   re   r’   Údifference_updaterf   ro   Úsortedr„   )rQ   r†   rª   Úunused_keysr¢   rR   r   r£   r¤   r!   r¥   r¦   s   &&&         r"   Ú
parse_dictÚHfArgumentParser.parse_dictf  sØ   € ô  ˜$Ÿ)™)›+Ó&ˆØˆØ×)Ô)ˆEÜ$/×$6Ò$6°uÔ$=ÓHÑ$=˜qÇÅ”F�A—F”FÑ$=ˆDÐHØ'+§z¡z¤|ÔA¡|™t˜q°q±y”d�a’d¡|ˆFÑAØ×)Ñ)¨&¯+©+«-Ô8Ù‘/˜&‘/ˆCØ�N‰N˜3Öñ *÷  §KÜÐOÔPVÐWbÓPcÐOdÐeÓfÐfÜ�W‹~Ðùò IùÛAs   ÁDÁDÂ 
DÂDc                ód   <€ V ^8„  d   QhRS[ S[P                  ,          RS[RS[S[R3,          /# )r&   Ú	json_filerª   r(   .©r*   ÚosÚPathLiker   r„   r   )r+   rI   s   "€r"   r,   rJ   ‚  s8   ø€ ÷ ñ ©©r¯{©{Õ):ð Édð Ñ_dÑenÐpsÐesÕ_tñ r$   c                óú   € \        \        V4      RR7      ;_uu_ 4       p\        P                  ! VP	                  4       4      pRRR4       V P                  XVR7      p\        V4      #   + '       g   i     L.; i)a  
Alternative helper method that does not use `argparse` at all, instead loading a json file and populating the
dataclass types.

Args:
    json_file (`str` or `os.PathLike`):
        File name of the json file to parse
    allow_extra_keys (`bool`, *optional*, defaults to `False`):
        Defaults to False. If False, will raise an exception if the json file contains keys that are not
        parsed.

Returns:
    Tuple consisting of:

        - the dataclass instances in the same order as they were passed to the initializer.
zutf-8)ÚencodingN©rª   )Úopenr   ÚjsonÚloadsÚreadr°   r„   )rQ   r³   rª   Úopen_json_fileÚdatar¢   s   &&&   r"   Úparse_json_fileÚ HfArgumentParser.parse_json_file‚  sY   € ô" ”$�y“/¨G×4Õ4¸Ü—:’:˜n×1Ñ1Ó3Ó4ˆD÷ 5à—/‘/ $Ð9I�/ÓJˆÜ�W‹~Ð÷ 5×4ús   Ÿ%A*Á*A:	c                ód   <€ V ^8„  d   QhRS[ S[P                  ,          RS[RS[S[R3,          /# )r&   Ú	yaml_filerª   r(   .r´   )r+   rI   s   "€r"   r,   rJ   ˜  s8   ø€ ÷ ñ ©©r¯{©{Õ):ð Édð Ñ_dÑenÐpsÐesÕ_tñ r$   c                ó”   € V P                  \        P                  ! \        V4      P	                  4       4      VR7      p\        V4      # )a  
Alternative helper method that does not use `argparse` at all, instead loading a yaml file and populating the
dataclass types.

Args:
    yaml_file (`str` or `os.PathLike`):
        File name of the yaml file to parse
    allow_extra_keys (`bool`, *optional*, defaults to `False`):
        Defaults to False. If False, will raise an exception if the json file contains keys that are not
        parsed.

Returns:
    Tuple consisting of:

        - the dataclass instances in the same order as they were passed to the initializer.
r¹   )r°   ÚyamlÚ	safe_loadr   r�   r„   )rQ   rÃ   rª   r¢   s   &&& r"   Úparse_yaml_fileÚ HfArgumentParser.parse_yaml_file˜  s7   € ð" —/‘/¤$§.¢.´°i³×1JÑ1JÓ1LÓ"MÐ`p�/ÓqˆÜ�W‹~Ðr$   c                ó6   <€ V ^8„  d   Qh/ S[ S[,          ;R&   # )r&   rH   )r   r   )r+   rI   s   "€r"   r,   rJ   o   s   ø‡ ‚ ñ ™mÕ,Ñ,ò r$   )rH   r/   )NFTNN)F)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__rN   Ústaticmethodrx   rP   r§   r°   rÀ   rÇ   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)rS   rI   s   @@r"   rF   rF   o   sh   ù‡ € ñ÷ 1õ 1ð" ÷gó ðg÷R7ð 7÷*Tò T÷lò ÷8ò ÷,ò ÷S	 … r$   rF   )!r>   r»   rµ   rˆ   rl   Úargparser   r   r   Úcollections.abcr   r   r   Úenumr	   Úinspectr
   Úpathlibr   Útypingr   r   r   r   r   rÅ   r   r   r#   r6   rr   rD   rF   rA   r$   r"   Ú<module>rÚ      s®   ðó Û Û 	Û 
Û ß UÑ Uß .Ý Ý Ý Ý ß ?Õ ?ã ñ �K Ó%€	Ù˜¨Ó-€ò

õ3ð,là&*ð,lð ð,lð ×&Ñ&ð	,lð
 *5×)<Ñ)<ð,lð !÷,lô^{�~ö {r$   