+
    ÿ*ójI"  ã                  ój  € R t ^ RIHt ^ RIHt ^ RIHtHt ^ RIH	t	H
t
HtHtHt ^ RIHt ^ RIHtHt ^RIHt ^RIHtHt ^R	IHtHt ]	'       d8   ^R
IHt ^RIHt ^RIH t  ]! R]]3R7       ! R R]PB                  4      4       t"M]PB                  t"Rt#]! R4      t$ ! R R]]]$,          ]"R7      t%R# )z%RootModel class and type definitions.)Úannotations)ÚCallable)ÚcopyÚdeepcopy)ÚTYPE_CHECKINGÚAnyÚGenericÚLiteralÚTypeVar)ÚPydanticUndefined)ÚSelfÚdataclass_transform)ÚPydanticUserError)Ú_model_constructionÚ_repr)Ú	BaseModelÚ_object_setattr)ÚField)ÚPrivateAttr)ÚIncExF)Úkw_only_defaultÚfield_specifiersc                  ó   € ] tR t^tRtR# )Ú_RootModelMetaclass© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    ÚOC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\pydantic\root_model.pyr   r      s   † ÛCFr    r   Ú	RootModelÚRootModelRootTypec                  ó.  a € ] tR t^"t$ RtRtRtRtR]R&   V 3R lt	]
3R R lltR]n        ]R*R	 V 3R
 lll4       tR R ltR R ltR R ltR*R R llt]'       d%   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!RR"R/R# R$ lltR% V 3R& lltR' R( ltR)tV ;t# )+r"   a›  !!! abstract "Usage Documentation"
    [`RootModel` and Custom Root Types](../concepts/models.md#rootmodel-and-custom-root-types)

A Pydantic `BaseModel` for the root object of the model.

Attributes:
    root: The root object of the model.
    __pydantic_root_model__: Whether the model is a RootModel.
    __pydantic_private__: Private fields in the model.
    __pydantic_extra__: Extra fields in the model.

TNr#   Úrootc                	ó€   <€ V P                   P                  R 4      pVe   \        RRR7      h\        SV `  ! R/ VB  R# )ÚextraNz<`RootModel` does not support setting `model_config['extra']`zroot-model-extra)Úcoder   )Úmodel_configÚgetr   ÚsuperÚ__init_subclass__)ÚclsÚkwargsr'   Ú	__class__s   &, €r!   r,   ÚRootModel.__init_subclass__6   sD   ø€ Ø× Ñ ×$Ñ$ WÓ-ˆØÒÜ#ØNÐUgôð ô 	‰Ò!Ñ+ FÔ+r    c               ó    € V ^8„  d   QhRRRR/# )é   r%   r#   ÚreturnÚNoner   )Úformats   "r!   Ú__annotate__ÚRootModel.__annotate__>   s    € ÷ Nñ NÐ 1ð NÐRVñ Nr    c               	ó€   € R pV'       d   V\         Jd   \        R4      hTpV P                  P                  WR7       R# )Tz_"RootModel.__init__" accepts either a single positional argument or arbitrary keyword arguments)Úself_instanceN)r   Ú
ValueErrorÚ__pydantic_validator__Úvalidate_python)Úselfr%   ÚdataÚ__tracebackhide__s   "&, r!   Ú__init__ÚRootModel.__init__>   sB   € Ø ÐßØÔ,Ó,Ü Øuóð ð ˆDØ×#Ñ#×3Ñ3°DÐ3ÖMr    c               ó$   € V ^8„  d   QhRRRRRR/# )r2   r%   r#   Ú_fields_setzset[str] | Noner3   r   r   )r5   s   "r!   r6   r7   K   s(   € ÷ Kñ KÐ#4ð KÀ?ð KÐ^bñ Kr    c                ó$   <€ \         SV `  WR7      # )a  Create a new model using the provided root object and update fields set.

Args:
    root: The root object of the model.
    _fields_set: The set of fields to be updated.

Returns:
    The new model.

Raises:
    NotImplemented: If the model is not a subclass of `RootModel`.
)r%   rC   )r+   Úmodel_construct)r-   r%   rC   r/   s   &&&€r!   rE   ÚRootModel.model_constructJ   s   ø€ ô ‰wÑ&¨DÐ&ÓJÐJr    c               ó   € V ^8„  d   QhRR/# )r2   r3   údict[Any, Any]r   )r5   s   "r!   r6   r7   Z   s   € ÷ 
ñ 
˜nñ 
r    c                	ó6   € R V P                   RV P                  /# ©Ú__dict__Ú__pydantic_fields_set__rJ   ©r=   s   &r!   Ú__getstate__ÚRootModel.__getstate__Z   s    € à˜Ÿ™Ø% t×'CÑ'Cð
ð 	
r    c               ó    € V ^8„  d   QhRRRR/# )r2   ÚstaterH   r3   r4   r   )r5   s   "r!   r6   r7   `   s   € ÷ =ñ = .ð =°Tñ =r    c                	óV   € \        V R VR ,          4       \        V RVR,          4       R# )rL   rK   N)r   )r=   rQ   s   &&r!   Ú__setstate__ÚRootModel.__setstate__`   s&   € Ü˜Ð7¸Ð?XÕ9YÔZÜ˜˜j¨%°
Õ*;Ö<r    c               ó   € V ^8„  d   QhRR/# )r2   r3   r   r   )r5   s   "r!   r6   r7   d   s   € ÷ ñ ˜$ñ r    c                ó   € \        V 4      pVP                  V4      p\        V P                  4      p\        V P                  R,          4      VR&   \	        VRV4       \	        VR\        V P
                  4      4       V# )z$Returns a shallow copy of the model.r%   rK   rL   )ÚtypeÚ__new__r   rK   r   rL   )r=   r-   ÚmÚnew_dicts   &   r!   Ú__copy__ÚRootModel.__copy__d   sh   € ä�4‹jˆØ�K‰K˜ÓˆÜ˜Ÿ™Ó&ˆÜ §¡¨fÕ 5Ó6ˆ�ÑÜ˜˜: xÔ0Ü˜Ð4´d¸4×;WÑ;WÓ6XÔYØˆr    c               ó    € V ^8„  d   QhRRRR/# )r2   Úmemozdict[int, Any] | Noner3   r   r   )r5   s   "r!   r6   r7   n   s   € ÷ ñ Ð!6ð À$ñ r    c           	     óè   € Vf   / p\        V 4      pVP                  V4      pW1\        V 4      &   \        VR\	        V P
                  VR7      4       \        VR\        V P                  4      4       V# )z!Returns a deep copy of the model.rK   )r^   rL   )rW   rX   Úidr   r   rK   r   rL   )r=   r^   r-   rY   s   &&  r!   Ú__deepcopy__ÚRootModel.__deepcopy__n   sd   € àŠ<ØˆDÜ�4‹jˆØ�K‰K˜ÓˆØŒR�‹X‰Ü˜˜:¤x°·±ÀDÔ'IÔJô 	˜Ð4´d¸4×;WÑ;WÓ6XÔYØˆr    ÚmodeÚpythonÚincludeÚexcludeÚcontextÚby_aliasÚexclude_unsetFÚexclude_defaultsÚexclude_noneÚexclude_computed_fieldsÚ
round_tripÚwarningsÚfallbackÚserialize_as_anyÚpolymorphic_serializationc               óT   € 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RRR	RR/# )r2   rc   zLiteral['json', 'python'] | strre   zIncEx | Nonerf   rg   z
Any | Nonerh   zbool | Noneri   Úboolrj   rk   rl   rm   rn   z'bool | Literal['none', 'warn', 'error']ro   zCallable[[Any], Any] | Nonerp   rq   r3   r   r   )r5   s   "r!   r6   r7   ƒ   s¢   € ÷ 0	ñ 0	ð 2ð0	ð "ð	0	ð
 "ð0	ð  ð0	ð "ð0	ð  ð0	ð #ð0	ð ð0	ð &*ð0	ð ð0	ð >ð0	ð 2ð0	ð #ð0	ð  (3ð!0	ð" ñ#0	r    c               ó   € R# )aX  !!! abstract "Usage Documentation"
    [`model_dump`](../concepts/serialization.md#python-mode)

Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

Args:
    mode: The mode in which `to_python` should run.
        If mode is 'json', the output will only contain JSON serializable types.
        If mode is 'python', the output may contain non-JSON-serializable Python objects.
    include: A set of fields to include in the output.
    exclude: A set of fields to exclude from the output.
    context: Additional context to pass to the serializer.
    by_alias: Whether to use the field's alias in the dictionary key if defined.
    exclude_unset: Whether to exclude fields that have not been explicitly set.
    exclude_defaults: Whether to exclude fields that are set to their default value.
    exclude_none: Whether to exclude fields that have a value of `None`.
    exclude_computed_fields: Whether to exclude computed fields.
        While this can be useful for round-tripping, it is usually recommended to use the dedicated
        `round_trip` parameter instead.
    round_trip: If True, dumped values should be valid as input for non-idempotent types such as Json[T].
    warnings: How to handle serialization errors. False/"none" ignores them, True/"warn" logs errors,
        "error" raises a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError].
    fallback: A function to call when an unknown value is encountered. If not provided,
        a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError] error is raised.
    serialize_as_any: Whether to serialize fields with duck-typing serialization behavior.
    polymorphic_serialization: Whether to use model and dataclass polymorphic serialization for this call.

Returns:
    A dictionary representation of the model.
Nr   )r=   rc   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   s   &$$$$$$$$$$$$$$r!   Ú
model_dumpÚRootModel.model_dumpƒ   s   € ñ` r    c               ó    € V ^8„  d   QhRRRR/# )r2   Úotherr   r3   rs   r   )r5   s   "r!   r6   r7   µ   s   € ÷ /ñ /˜Cð / Dñ /r    c                	óà   <€ \        V\        4      '       g   \        # V P                  R ,          P                  VP                  R ,          P                  8H  ;'       d    \
        SV `  V4      # ©r%   )Ú
isinstancer"   ÚNotImplementedÚ__pydantic_fields__Ú
annotationr+   Ú__eq__)r=   rx   r/   s   &&€r!   r   ÚRootModel.__eq__µ   s_   ø€ Ü˜%¤×+Ò+Ü!Ð!Ø×'Ñ'¨Õ/×:Ñ:¸e×>WÑ>WØõ?
ç
‰*ñ÷ /ð /ä™™¨Ó.ð	/r    c               ó   € V ^8„  d   QhRR/# )r2   r3   z_repr.ReprArgsr   )r5   s   "r!   r6   r7   ¼   s   € ÷  ñ  ˜~ñ  r    c              #  	ó.   "  € R V P                   3x € R# 5i)r%   Nrz   rM   s   &r!   Ú__repr_args__ÚRootModel.__repr_args__¼   s   é € Ø�d—i‘iÐÔùs   ‚r   )N)r   r   r   r   Ú__doc__Ú__pydantic_root_model__Ú__pydantic_private__Ú__pydantic_extra__Ú__annotations__r,   r   r@   Ú__pydantic_base_init__ÚclassmethodrE   rN   rS   r[   ra   r   ru   r   rƒ   r   Ú__classcell__)r/   s   @r!   r"   r"   "   s  ø‡ ñð #ÐØÐØÐà
Óõ,ð 5F÷ Nð '+€HÔ#à÷Kñ Kó ðKõ
õ=õ÷÷ ð0	ð 5=ð0	ð %)ð	0	ð
 %)ð0	ð #'ð0	ð %)ð0	ð #(ð0	ð &+ð0	ð "'ð0	ð -2ð0	ð  %ð0	ð AEð0	ð 59ð0	ð &+ð0	ð  6:÷!0	÷d/ð /÷ ó  r    )Ú	metaclassN)r"   )&r…   Ú
__future__r   Ú_annotationsÚcollections.abcr   r   r   Útypingr   r   r   r	   r
   Úpydantic_corer   Útyping_extensionsr   r   Ú r   Ú	_internalr   r   Úmainr   r   Úfieldsr   ÚPydanticModelFieldr   ÚPydanticModelPrivateAttrr   ÚModelMetaclassr   Ú__all__r#   r"   r   r    r!   Ú<module>rœ      s“   ðÙ +å 2å $ß ß @Õ @å +ß 7å ß 1ß ,çÝ3Ý?Ýñ
 ¨ÐBTÐVnÐAoÔpÜFÐ1×@Ñ@ÓFó qÙFà-×<Ñ<Ðà
€áÐ/Ó0Ð ô[ �	˜7Ð#4Õ5ÐAT÷ [ r    