+
    ÿ*ójöG  ã                  ó  € R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIH	t	 ^ RI
HtHtHtHtHtHtHtHt ^ RIHt ^ RIHt ^RIHtHtHt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( ]'       d   ^RI)H*t* ^RI+H,t, R0t-]! R4      t.]! ]P^                  ]&](3R7      ]RRRRRRRRRRRRRRRRRRRR/
R R ll4       4       t0]! ]P^                  ]&](3R7      ]RRRRRRRRRRRRRRRRRRRR/
R  R! ll4       4       t0]! ]P^                  ]&](3R7      R1RRRRRRRRRRRRRRRRRRRR/
R" R# lll4       t0R$ R% lt1] ! ]24      t3]Ph                  R28  d   R& R' lt5]5]Pl                  n7        R(RR)RR*^R+R/R, R- llt8R. R/ lt9R# )3z7Provide an enhanced dataclass that performs validation.)ÚannotationsN)ÚCallable)ÚTYPE_CHECKINGÚAnyÚGenericÚLiteralÚNoReturnÚ	TypeGuardÚTypeVarÚoverload)Úwarn)Údataclass_transform)Ú_configÚ_decoratorsÚ_mock_val_serÚ_namespace_utilsÚ_typing_extra)Ú_dataclasses)Úgetattr_migration)Ú
ConfigDict)ÚPydanticUserError)ÚFieldÚ	FieldInfoÚPrivateAttr)ÚPydanticDataclass)ÚMappingNamespaceÚ_T)Úfield_specifiersÚinitFÚreprTÚeqÚorderÚunsafe_hashÚfrozenÚconfigÚvalidate_on_initÚkw_only.Úslotsc               óD   € V ^8„  d   QhRRRRRRRRRRRRR	R
RRRRRRRR/# )é   r   úLiteral[False]r   Úboolr    r!   r"   r#   r$   ú ConfigDict | type[object] | Noner%   úbool | Noner&   r'   Úreturnz-Callable[[type[_T]], type[PydanticDataclass]]© )Úformats   "ÚPC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\pydantic\dataclasses.pyÚ__annotate__r2   !   sx   € ÷ ñ à
ðð ðð 	ð	ð
 ðð ðð ðð -ðð "ðð ðð ðð 3ñó    c        
        ó   € R # ©Nr/   )
r   r   r    r!   r"   r#   r$   r%   r&   r'   s
   $$$$$$$$$$r1   Ú	dataclassr6      s   € ñ r3   c               óH   € V ^8„  d   QhRRRRRRRRRRR	RR
RRRRRRRRRRR/# )r)   Ú_clsztype[_T]r   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r&   r'   r.   útype[PydanticDataclass]r/   )r0   s   "r1   r2   r2   3   s‚   € ÷ "ñ "Ø
ð"ð ð"ð ð	"ð
 	ð"ð ð"ð ð"ð ð"ð -ð"ð "ð"ð ð"ð ð"ð ñ"r3   c       
        ó   € R # r5   r/   )r8   r   r   r    r!   r"   r#   r$   r%   r&   r'   s   &$$$$$$$$$$r1   r6   r6   1   s   € ñ "r3   c               óH   € V ^8„  d   QhRRRRRRRRRRR	RR
RRRRRRRRRRR/# )r)   r8   ztype[_T] | Noner   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r&   r'   r.   zGCallable[[type[_T]], type[PydanticDataclass]] | type[PydanticDataclass]r/   )r0   s   "r1   r2   r2   B   sŸ   € ÷ WHñ WHØ
ðWHð ðWHð ð	WHð
 	ðWHð ðWHð ðWHð ðWHð -ðWHð "ðWHð ðWHð ðWHð MñWHr3   c       
   	     ó‚   aaaaaaa	a
€ VRJ g   Q R4       hVRJg   Q R4       hR VVVV	VVV
V3R llpV f   V# V! V 4      # )u 	  !!! abstract "Usage Documentation"
    [`dataclasses`](../concepts/dataclasses.md)

A decorator used to create a Pydantic-enhanced dataclass, similar to the standard Python `dataclass`,
but with added validation.

This decorator should be used similarly to the [`@dataclasses.dataclass`][dataclasses.dataclass] decorator.

A Pydantic dataclass validates its inputs like a `BaseModel` does. Its
[`ValidationError`][pydantic_core.ValidationError] includes each rejected value, while
[Logfire](../integrations/logfire.md) can retain the complete validation input and surrounding trace
context â€” see [Troubleshooting validation errors](../errors/troubleshooting.md).

Args:
    _cls: The target `dataclass`.
    init: Included for signature compatibility with `dataclasses.dataclass`, and is passed through to
        `dataclasses.dataclass` when appropriate. If specified, must be set to `False`, as pydantic inserts its
        own  `__init__()` function.
    repr: A boolean indicating whether to include the field in the `__repr__()` output.
    eq: Determines if a `__eq__()` method should be generated for the class.
    order: Determines if comparison magic methods should be generated, such as `__lt__()`, but not `__eq__()`.
    unsafe_hash: Determines if a `__hash__()` method should be included in the class, as in `dataclasses.dataclass`.
    frozen: Determines if the generated class should be a 'frozen' `dataclass`, which does not allow its
        attributes to be modified after it has been initialized. If not set, the value from the provided `config` argument will be used (and will default to `False` otherwise).
    config: The Pydantic config to use for the `dataclass`.
    validate_on_init: A deprecated parameter included for backwards compatibility; in V2, all Pydantic dataclasses
        are validated on init.
    kw_only: Determines if `__init__()` method parameters must be specified by keyword only. Defaults to `False`.
    slots: Determines if the generated class should be a 'slots' `dataclass`, which does not allow the addition of
        new attributes after instantiation.

Returns:
    A decorator that accepts a class as its argument and returns a Pydantic `dataclass`.

Raises:
    AssertionError: Raised if `init` is not `False` or `validate_on_init` is `False`.
Fz7pydantic.dataclasses.dataclass only supports init=Falsez-validate_on_init=False is no longer supportedc               ó    € V ^8„  d   QhRRRR/# )r)   Úclsú	type[Any]r.   r9   r/   )r0   s   "r1   r2   Údataclass.<locals>.__annotate__x   s   € ÷ _ñ _˜ið _Ð,Cñ _r3   c                ó²  <aa€ ^RI Hp V! V 4      '       d   \        RV P                   R2RR7      hT p\        ;QJ d&    R V P
                   4       F  '       g   K   RM	  RM! R V P
                   4       4      pV'       g7   Se3   \        V R
4      '       d!   \        RV P                   R2\        ^R7       Se   SM\        V R
R	4      p\        P                  ! V4      p\        P                  P                  V RR7      pVP                  V4       V P                   p\"        P$                  ! V 4      '       d]   R	pV 3p\'        V \(        4      '       d!   \(        V P*                  ,          p	W‰3,           p\,        P.                  ! V P                  V4      p Se7   SoVP0                  '       d"   \        RV P                  : R2\        ^R7       MVP0                  ;'       g    Ro\2        P4                  ! V 4      p
V
 FG  p\        WR	4      p\7        V\8        4      '       g   K'  \;        W\"        P<                  ! V4      4       KI  	  \"        P>                  ! V 4      ;_uu_ 4        \@        PB                  ! V RSSSSSSSR7	      p R	R	R	4       VPD                  '       dƒ   V PF                  o\H        PJ                  ! V PF                  4      R VV3R ll4       pVPM                  R	V 4      V n#        S'       d+   \        V R4      '       g   R R lpR R lpWàn'        Wðn(        RV n)        W`n*        Wpn        \        VRR	4      pVPV                  V n+        \X        PZ                  R8¼  d   Ve   VVn.        VV n.        VP^                  V n/        \a        \b        4      V n2        RV n3        \"        Ph                  ! WRR7       V #   + '       g   i     ELC; i)z›Create a Pydantic dataclass from a regular dataclass.

Args:
    cls: The class to create the Pydantic dataclass from.

Returns:
    A Pydantic dataclass.
)Úis_model_classz(Cannot create a Pydantic dataclass from z" as it is already a Pydantic modelzdataclass-on-model)Úcodec              3  óN   "  € T F  p\         P                  ! V4      x € K  	  R # 5ir5   )ÚdataclassesÚis_dataclass)Ú.0Úbases   & r1   Ú	<genexpr>Ú6dataclass.<locals>.create_dataclass.<locals>.<genexpr>�   s   é € Ð ZÉMÀD¤×!9Ò!9¸$×!?Ð!?ËMùs   ‚#%TFNÚ__pydantic_config__z[`config` is set via both the `dataclass` decorator and `__pydantic_config__` for dataclass zK. The `config` specification from `dataclass` decorator will take priority.)ÚcategoryÚ
stacklevel)Úreplace_wrapped_methodszN`frozen` is set via both the `dataclass` decorator and `config` for dataclass zW.This is not recommended. The `frozen` specification on `dataclass` will take priority.)r   r   r    r!   r"   r#   r&   r'   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	r)   Úinstancer   ÚnameÚstrÚvaluer   r.   ÚNoner/   )r0   s   "r1   r2   Ú9dataclass.<locals>.create_dataclass.<locals>.__annotate__ß   s1   € ÷ _ñ _Ð,=ð _ÀSð _ÐQTð _Ð\`ñ _r3   c               ó\  <€ S'       d
   S! WV4      # \        V 4      p\        W1R 4      p\        V\        4      '       d   VP	                  W4       R # \        V\
        P                  4      '       d   V P                  P                  W4       R # VP                  P                  WV4       R # r5   )ÚtypeÚgetattrÚ
isinstanceÚpropertyÚ__set__Ú	functoolsÚcached_propertyÚ__dict__Ú__setitem__Ú__pydantic_validator__Úvalidate_assignment)rP   rQ   rS   Úinst_clsÚattrÚfrozen_Úoriginal_setattrs   """  €€r1   Úvalidated_setattrÚ>dataclass.<locals>.create_dataclass.<locals>.validated_setattrÞ   s   ø€ çÙ+¨H¸EÓBÐBÜ ›>�Ü˜x¨tÓ4�ä˜d¤H×-Ò-Ø—L‘L Ö1Ü ¤i×&?Ñ&?×@Ò@Ø×%Ñ%×1Ñ1°$Ö>à×3Ñ3×GÑGÈÐX]Ö^r3   Ú__setstate__c               ó    € V ^8„  d   QhRRRR/# )r)   Úselfr   r.   ú	list[Any]r/   )r0   s   "r1   r2   rU   ù   s   € ÷ Uñ U¨cð U°iñ Ur3   c                ó~   € \         P                  ! V 4       Uu. uF  p\        WP                  4      NK  	  up# u upi r5   )rE   ÚfieldsrX   rQ   )rj   Úfs   & r1   Ú_dataclass_getstateÚ@dataclass.<locals>.create_dataclass.<locals>._dataclass_getstateù   s0   € Ü;F×;MÒ;MÈdÔ;SÓTÑ;S°aœG D¯&©&Ö1Ñ;SÑTÐTùÒTs   ™:c               ó$   € V ^8„  d   QhRRRRRR/# )r)   rj   r   Ústaterk   r.   rT   r/   )r0   s   "r1   r2   rU   ü   s&   € ÷ Dñ D¨cð D¸)ð DÈñ Dr3   c                óœ   € \        \        P                  ! V 4      VR R7       F%  w  r#\        P	                  WP
                  V4       K'  	  R# )T)ÚstrictN)ÚziprE   rm   ÚobjectÚ__setattr__rQ   )rj   rr   ÚfieldrS   s   &&  r1   Ú_dataclass_setstateÚ@dataclass.<locals>.create_dataclass.<locals>._dataclass_setstateü   s8   € Ü(+¬K×,>Ò,>¸tÓ,DÀeÐTX×(Y™˜Ü×*Ñ*¨4·±¸UÖCó )Zr3   Ú__firstlineno__)Úraise_errors)é   é   )5Ú_internal._utilsrB   r   Ú__name__ÚanyÚ	__bases__Úhasattrr   ÚUserWarningrX   r   ÚConfigWrapperr   ÚDecoratorInfosÚbuildÚupdate_from_configÚ__doc__Ú_pydantic_dataclassesÚis_stdlib_dataclassÚ
issubclassr   Ú__parameters__ÚtypesÚ	new_classr#   r   Úsafe_get_annotationsrY   r   ÚsetattrÚas_dataclass_fieldÚpatch_base_fieldsrE   r6   ra   rw   r\   ÚwrapsÚ__get__Ú__getstate__rh   Ú__is_pydantic_dataclass__Ú__pydantic_decorators__Ú
__module__ÚsysÚversion_infor{   Ú__qualname__ÚclassmethodÚ_pydantic_fields_completeÚ__pydantic_fields_complete__Ú__pydantic_complete__Úcomplete_dataclass)r>   rB   Úoriginal_clsÚhas_dataclass_baseÚconfig_dictÚconfig_wrapperÚ
decoratorsÚoriginal_docÚbasesÚgeneric_baseÚcls_annsÚ
field_nameÚfield_valuerf   ro   ry   Úfirstlinenord   re   r$   r    r#   r&   r!   r   r'   r"   s   &                @@€€€€€€€€r1   Úcreate_dataclassÚ#dataclass.<locals>.create_dataclassx   sf  ú€ õ 	5á˜#×ÒÜ#Ø:¸3¿<¹<¸.ÐHjÐkØ)ôð ð
 ˆ÷ !›SÑ ZÈCÏMÊMÓ ZŸSŸSšSÑ ZÈCÏMÊMÓ ZÓZÐß! fÒ&8¼WÀSÐJ_×=`Ò=`ÜØmÐnq×nzÑnzÐm{ð |\ð ]ä$Øõ	ð !'Ò 2‘f¼ÀÐEZÐ\`Ó8aˆÜ ×.Ò.¨{Ó;ˆÜ ×/Ñ/×5Ñ5°cÐSWÐ5ÓXˆ
Ø×%Ñ% nÔ5ð
 —{‘{ˆä ×4Ò4°S×9Ò9ð  ˆLð
 �FˆEÜ˜#œw×'Ò'Ü& s×'9Ñ'9Õ:�Ø Õ/�Ü—/’/ #§,¡,°Ó6ˆCð ÒØˆGØ×$×$Ð$äØdÐeh×eqÑeqÑdtð umð mä(Ø õ	øð %×+Ñ+×4Ð4¨uˆGô !×5Ò5°cÓ:ˆÛ"ˆJô " #°4Ó8ˆKÜ˜+¤y×1Ô1Ü˜Ô)>×)QÒ)QÐR]Ó)^Ö_ñ #ô #×4Ò4°S×9Õ9Ü×'Ò'ØàØØØØ'ØØØôˆC÷ :ð ×-×-Ð-Ø"Ÿ™Ðä�_Š_˜SŸ_™_Ó-÷_ð _ó .ð_ð 0×7Ñ7¸¸cÓBˆCŒOçœW S¨.×9Ò9õUõDð $7Ô Ø#6Ô ð )-ˆÔ%Ø&0Ô#Ø"Œä˜lÐ,=¸tÓDˆØ%×0Ñ0ˆŒÜ×Ñ˜wÔ&¨;Ò+Bð ,7ˆLÔ(Ø"-ˆCÔØ'×4Ñ4ˆÔÜ+6Ô7PÓ+QˆÔ(Ø$)ˆÔ!ô 	×0Ò0°ÐSXÕYØˆ
÷U :×9Ð9ús   É+ OÏO	r/   )r8   r   r   r    r!   r"   r#   r$   r%   r&   r'   r®   s   &$dddddd$dd r1   r6   r6   A   sQ   ÿ€ ðh �5‹=ÐSÐSÓSˆ=Ø 5Ó(ÐYÐ*YÓYÐ(÷_÷ _ðB  $š|ÐÐGÑ1AÀ$Ó1GÐGr3   c               ó    € V ^8„  d   QhRRRR/# )r)   r>   r9   r.   r+   r/   )r0   s   "r1   r2   r2     s   € ÷ Xñ XÐ#:ð X¸tñ Xr3   c                óÊ   € \         ;QJ d4    R V P                  P                  4        4       F  '       d   K   R# 	  R# ! R V P                  P                  4        4       4      # )z¦Return whether the fields were successfully collected (i.e. type hints were successfully resolved).

This is a private helper, not meant to be used outside Pydantic.
c              3  ó8   "  € T F  qP                   x € K  	  R # 5ir5   )Ú	_complete)rG   Ú
field_infos   & r1   rI   Ú,_pydantic_fields_complete.<locals>.<genexpr>!  s   é € ÐWÑ6V¨
×#Ö#Ó6Vùs   ‚FT)ÚallÚ__pydantic_fields__Úvalues)r>   s   &r1   rž   rž     sK   € ÷
 ‹3ÑW°c×6MÑ6M×6TÑ6TÔ6VÓW�3Œ3ÐWŠ3ÐWˆ3ÑW°c×6MÑ6M×6TÑ6TÔ6VÓWÓWÐWr3   c               ó$   € V ^8„  d   QhRRRRRR/# )r)   Úargsr   Úkwargsr.   r   r/   )r0   s   "r1   r2   r2   *  s!   € ÷ <ñ <˜Sð <¨Cð <°Hñ <r3   c                 ó   € \        R4      h)a!  This function does nothing but raise an error that is as similar as possible to what you'd get
if you were to try calling `InitVar[int]()` without this monkeypatch. The whole purpose is just
to ensure typing._type_check does not error if the type hint evaluates to `InitVar[<parameter>]`.
z 'InitVar' object is not callable)Ú	TypeError)rº   r»   s   *,r1   Ú_call_initvarr¾   *  s   € ô
 Ð:Ó;Ð;r3   Úforcer|   Ú_parent_namespace_depthÚ_types_namespacec               ó0   € V ^8„  d   QhRRRRRRRRRR	R
R/# )r)   r>   r9   r¿   r+   r|   rÀ   ÚintrÁ   zMappingNamespace | Noner.   r-   r/   )r0   s   "r1   r2   r2   4  sF   € ÷ >ñ >Ø	 ð>ð ð>ð ð	>ð
 !ð>ð .ð>ð ñ>r3   c               ó  € V'       g   V P                   '       d   R# R F[  pWPP                  9   g   K  \        \        W4      \        P
                  \        P                  34      '       d   KP  \        W4       K]  	  RV n         Ve   TpM,V^ 8”  d$   \        P                  ! VRR7      ;'       g    / pM/ p\        P                  ! VR7      p\        P                  ! V \        P                  ! V P                   RR7      VVRR7      # )	aD  Try to rebuild the pydantic-core schema for the dataclass.

This may be necessary when one of the annotations is a ForwardRef which could not be resolved during
the initial attempt to build the schema, and automatic rebuilding fails.

This is analogous to `BaseModel.model_rebuild`.

Args:
    cls: The class to rebuild the pydantic-core schema for.
    force: Whether to force the rebuilding of the schema, defaults to `False`.
    raise_errors: Whether to raise errors, defaults to `True`.
    _parent_namespace_depth: The depth level of the parent namespace, defaults to 2.
    _types_namespace: The types namespace, defaults to `None`.

Returns:
    Returns `None` if the schema is already "complete" and rebuilding was not required.
    If rebuilding _was_ required, returns `True` if rebuilding was successful, otherwise `False`.
NFT)Úparent_depthr¿   )Úparent_namespace)Úcheck)r|   Úns_resolverÚ_force_build)Ú__pydantic_core_schema__r`   Ú__pydantic_serializer__)r    r^   rY   rX   r   ÚMockCoreSchemaÚ
MockValSerÚdelattrr   Úparent_frame_namespacer   Ú
NsResolverrŠ   r¡   r   r…   rK   )r>   r¿   r|   rÀ   rÁ   rc   Ú
rebuild_nsrÈ   s   &$$$$   r1   Úrebuild_dataclassrÒ   4  sæ   € ÷4 �S×.×.Ð.ÙãaˆØ—<‘<Ö¬
Ü�CÓ¤×!=Ñ!=¼}×?WÑ?WÐ X÷)
ô )
ô �CÖñ bð !&€CÔàÒ#Ø%‰
Ø	  1Ô	$Ü"×9Ò9ÐG^ÐfjÔk×qÐqÐoq‰
àˆ
ä"×-Ò-Ø#ô€Kô !×3Ò3ØÜ×Ò˜c×5Ñ5¸UÔCØ!Øð
 ô
ð 
r3   c               ó    € V ^8„  d   QhRRRR/# )r)   Úclass_r?   r.   z"TypeGuard[type[PydanticDataclass]]r/   )r0   s   "r1   r2   r2   u  s   € ÷ ñ  )ð Ð3Uñ r3   c               ó‚   €  RV P                   9   ;'       d    \        P                  ! V 4      #   \         d     R# i ; i)z•Whether a class is a pydantic dataclass.

Args:
    class_: The class.

Returns:
    `True` if the class is a pydantic dataclass, `False` otherwise.
r—   F)r^   rE   rF   ÚAttributeError)rÔ   s   "r1   Úis_pydantic_dataclassr×   u  s<   € ðØ*¨f¯o©oÑ=×bÐbÄ+×BZÒBZÐ[aÓBbÐbøÜô Úðús   ‚/ ˜/ ¯>½>)r6   rÒ   r5   )r}   é   ):r‰   Ú
__future__r   Ú_annotationsrE   r\   rš   rŽ   Úcollections.abcr   Útypingr   r   r   r   r   r	   r
   r   Úwarningsr   Útyping_extensionsr   Ú	_internalr   r   r   r   r   r   rŠ   Ú
_migrationr   r$   r   Úerrorsr   rm   r   r   r   Ú_internal._dataclassesr   Ú_internal._namespace_utilsr   Ú__all__r   rx   r6   rž   r€   Ú__getattr__r›   r¾   ÚInitVarÚ__call__rÒ   r×   r/   r3   r1   Ú<module>rè      sˆ  ðÙ =å 2ã Û Û 
Û Ý $ß _× _Ó _Ý å 1ç [Õ [Ý <Ý )Ý Ý %ß 1Ñ 1çÝ9Ý<à
*€áˆTƒ]€ñ  {×'8Ñ'8¸%ÀÐ&MÔNØ	ðà ðð ðð ð	ð
 ðð ðð ðð 04ðð %)ðð ðð öó 
ó Oðñ   {×'8Ñ'8¸%ÀÐ&MÔNØ	ð"ð !ð"ð ð	"ð
 ð"ð ð"ð ð"ð ð"ð 04ð"ð %)ð"ð ð"ð ö"ó 
ó Oð"ñ  {×'8Ñ'8¸%ÀÐ&MÔNñWHð !ðWHð ð	WHð
 ðWHð ðWHð ðWHð ðWHð 04ðWHð %)ðWHð ðWHð ÷WHó OðWHõtXñ   Ó)€à×Ñ�gÔõ<ð $1€K×ÑÔ ð>ð ð>ð ð	>ð
 $%ð>ð 15÷>÷Br3   