+
     +ójç  ã                  óì   € ^ RI Ht ^ RIt^ RIHt ^ RIHtHt ^ RIH	t	H
t
 ^ RIHt ^RIHt ^RIHt ]	'       d   ^R	IHt ^R
IHt  ! R R4      t]! 4       tR R ltR R ltR R ltRR/R R lltR# )é    )ÚannotationsN)ÚCallable)Ú	ParameterÚ	Signature)ÚTYPE_CHECKINGÚAny)ÚPydanticUndefined)Úsignature_no_eval)Úis_valid_identifier)ÚExtraValues©Ú	FieldInfoc                  ó   € ] tR t^tR tRtR# )Ú_HAS_DEFAULT_FACTORY_CLASSc                	ó   € R # )z	<factory>© )Úselfs   &ÚYC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\pydantic\_internal\_signature.pyÚ__repr__Ú#_HAS_DEFAULT_FACTORY_CLASS.__repr__   s   € Ùó    r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   Ú__static_attributes__r   r   r   r   r      s   † ör   r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )é   Ú
field_nameÚstrÚ
field_infor   Úvalidate_by_aliasÚboolÚreturnr   )Úformats   "r   Ú__annotate__r&      s*   € ÷ ñ ¨#ð ¸9ð ÐY]ð Ðbeñ r   c                ó2  € V'       d�   \        VP                  \        4      '       d(   \        VP                  4      '       d   VP                  # \        VP                  \        4      '       d(   \        VP                  4      '       d   VP                  # V # )aö  Extract the correct name to use for the field when generating a signature.

Assuming the field has a valid alias, this will return the alias. Otherwise, it will return the field name.
First priority is given to the alias, then the validation_alias, then the field name.

Args:
    field_name: The name of the field
    field_info: The corresponding FieldInfo object.
    validate_by_alias: The `validate_by_alias` value of the config.

Returns:
    The correct name to use when generating a signature.
)Ú
isinstanceÚaliasr    r   Úvalidation_alias)r   r!   r"   s   &&&r   Ú_field_name_for_signaturer+      sn   € ÷ Ü�j×&Ñ&¬×,Ò,Ô1DÀZ×EUÑEU×1VÒ1VØ×#Ñ#Ð#Ü�j×1Ñ1´3×7Ò7Ô<OÐPZ×PkÑPk×<lÒ<lØ×.Ñ.Ð.àÐr   c               ó$   € V ^8„  d   QhRRRRRR/# )r   Úparamr   r"   r#   r$   r   )r%   s   "r   r&   r&   2   s!   € ÷ "ñ " 9ð "Àð "È)ñ "r   c                óX  € ^RI Hp V P                  p\        W24      '       d‡   V P                  pVR8X  d   \
        pVP                  pV\        J d0   VP                  f   \        P                  pM\        P                  pV P                  V\        V P                  W14      VR7      # V # )a  Modify the signature for a parameter in a dataclass where the default value is a FieldInfo instance.

Args:
    param (Parameter): The parameter
    validate_by_alias: The `validate_by_alias` value of the config.

Returns:
    Parameter: The custom processed parameter
r   r   )Ú
annotationÚnameÚdefault)Úfieldsr   r1   r(   r/   r   r	   Údefault_factoryr   ÚemptyÚdataclassesÚ_HAS_DEFAULT_FACTORYÚreplacer+   r0   )r-   r"   r   Úparam_defaultr/   r1   s   &&    r   Ú_process_param_defaultsr9   2   sž   € õ #à—M‘M€MÜ�-×+Ò+Ø×%Ñ%ˆ
ð ˜ÔÜˆJð  ×'Ñ'ˆØÔ'Ó'Ø×,Ñ,Ò4Ü#Ÿ/™/‘ô &×:Ñ:�Ø�}‰}Ø!Ü*¨5¯:©:°}ÓXØð ó 
ð 	
ð
 €Lr   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )r   ÚinitúCallable[..., None]r2   údict[str, FieldInfo]ÚextraúExtraValues | Noner"   r#   r$   zdict[str, Parameter]r   )r%   s   "r   r&   r&   W   sA   € ÷ Nñ NØ
ðNà ðNð ðNð ð	Nð
 ñNr   c                óô  € ^ RI Hp \        V 4      P                  P	                  4       p/ pRpRpV! V^R4       FÑ  p	VP                  V	P                  4      '       d[   \        WP                  ,          RR4      RJ d   KG  V	P                  \        V	P                  WP                  ,          V4      R7      p	V	P                  R8X  d   V	P                  \        R7      p	V	P                  V	P                  J d   T	pKÃ  W–V	P                  &   KÓ  	  V'       d¾   VP                  4        F©  w  r«\        W«V4      pW¦9   g   WÆ9   d   K  \        V4      '       g   RpK4  VP!                  4       '       d   \"        P$                  pM!VP&                  e   \(        pMVP*                  p\#        V\"        P,                  VP/                  4       VR	7      Wl&   K«  	  VR
8X  d   RpV'       d�   V'       d‡   R\"        P0                  3R\"        P                  3.pV Uu. uF  qÿP                  VP                  3NK  	  upV8X  d   RpMVP                  pVV9   d   VR,          pK  VP                  VR7      VV&   V# u upi )zaGenerate a mapping of parameter names to Parameter objects for a pydantic BaseModel or dataclass.)ÚisliceNFr;   T)r0   r   )r/   )r/   r1   Úallowr   ÚdataÚ
extra_dataÚ_)Ú	itertoolsrA   r
   Ú
parametersÚvaluesÚgetr0   Úgetattrr7   r+   r/   r   ÚkindÚVAR_KEYWORDÚitemsr   Úis_requiredr   r4   r3   r6   r1   ÚKEYWORD_ONLYÚrebuild_annotationÚPOSITIONAL_ONLY)r;   r2   r>   r"   rA   Úpresent_paramsÚmerged_paramsÚvar_kwÚ
use_var_kwr-   r   ÚfieldÚ
param_namer1   Údefault_model_signatureÚpÚvar_kw_names   &&&&             r   Ú_generate_signature_parametersr[   W   s!  € õ !ä& tÓ,×7Ñ7×>Ñ>Ó@€NØ*,€MØ€FØ€Já˜¨¨4Ö0ˆð �:‰:�e—j‘j×!Ò!ä�vŸj™jÕ)¨6°4Ó8¸EÓAÙØ—M‘MÔ'@ÀÇÁÈV×T^ÑT^ÕM_ÐarÓ's�MÓtˆEØ×Ñ˜uÔ$Ø—M‘M¬S�MÓ1ˆEØ�:‰:˜×*Ñ*Ó*ØˆFÙØ$)�e—j‘jÓ!ñ 1÷ Ø!'§¡¦ÑˆJä2°:ÐFWÓXˆJàÔ*¨jÔ.IÙä& z×2Ò2à!�
Ùà× Ñ ×"Ò"Ü#Ÿ/™/‘Ø×&Ñ&Ò2ä.‘àŸ-™-�Ü(1ØÜ×&Ñ&Ø ×3Ñ3Ó5Øô	)ˆMÓ%ñ' "0ð4 �ÔØˆ
ç—*ð ”Y×.Ñ.Ð/Ø”Y×*Ñ*Ð+ð#
Ðñ '5Ó5¡n �V‰V�Q—V‘VÓ¡nÑ5Ð9PÔPà&‰Kð !Ÿ+™+ˆKð ˜VÔ#Ø˜3ÕŠKØ%+§^¡^¸ ^Ó%Eˆ�kÑ"àÐùò 6s   È I5Úis_dataclassFc               ó0   € V ^8„  d   QhRRRRRRRRR	RR
R/# )r   r;   r<   r2   r=   r"   r#   r>   r?   r\   r$   r   r   )r%   s   "r   r&   r&   ¨   sN   € ÷ Vñ Và
ðVð !ðVð ð	Vð
 ðVð ðVð ñVr   c           	     óØ   € \        WW24      pV'       d.   VP                  4        UUu/ uF  w  rgV\        Wr4      bK  	  ppp\        \	        VP                  4       4      RR7      # u uppi )aW  Generate signature for a pydantic BaseModel or dataclass.

Args:
    init: The class init.
    fields: The model fields.
    validate_by_alias: The `validate_by_alias` value of the config.
    extra: The `extra` value of the config.
    is_dataclass: Whether the model is a dataclass.

Returns:
    The dataclass/BaseModel subclass signature.
N)rG   Úreturn_annotation)r[   rM   r9   r   ÚlistrH   )r;   r2   r"   r>   r\   rS   ÚkÚvs   $$$$$   r   Úgenerate_pydantic_signaturerc   ¨   sa   € ô( 3°4ÀÓZ€MçØVc×ViÑViÔVkÔlÑVkÉdÈa˜Ô3°AÓIÒIÑVkˆÑlä¤ ]×%9Ñ%9Ó%;Ó <ÐPTÔUÐUùó ms   ¨A&)Ú
__future__r   r5   Úcollections.abcr   Úinspectr   r   Útypingr   r   Úpydantic_corer	   Ú_typing_extrar
   Ú_utilsr   Úconfigr   r2   r   r   r6   r+   r9   r[   rc   r   r   r   Ú<module>rl      sd   ðÝ "ã Ý $ß (ß %å +å ,Ý 'çÝ$Ý"÷ñ ñ
 2Ó3Ð õõ."õJNðbVð ÷Vñ Vr   