+
    „°ñjÇ  ã                   óÎ   € ^RI HtHtHtHt ^ RIt^ RIHt ^ RIH	t	H
t
 RR/R R llt ! R R	4      t ! R
 R4      tR tR R ltR tR R lt ! R R]4      tRR ltR tR tR# )é   )ÚComfyAPIBaseÚComfyAPIWithVersionÚregister_versionsÚget_all_versionsN)Úasdict)ÚCallableÚOptionalÚbasec          	      ó^   € V ^8„  d   QhR\         R\        R\         R\        \        ,          /# )é   ÚclsÚnamer
   Úreturn)ÚtypeÚstrr	   r   )Úformats   "Ú?C:\Ai_Coding\apps\studio\ComfyUI\comfy_api\internal\__init__.pyÚ__annotate__r      s-   € ÷ ñ œTð ¬ð ´tð ÄXÌhÕEWñ ó    c               óT  € Vf.   \        V R4      '       g   \        R4      hV P                  4       p\        W!R4      pVf   R# VP                  pV P                  4        FD  pWRJ d    R# WP                  9   g   K  \        WQ4      P                  pWdJg   K9  \        W4      u # 	  R# )zàReturn the *callable* override of `name` visible on `cls`, or None if every
implementation up to (and including) `base` is the placeholder defined on `base`.

If base is not provided, it will assume cls has a GET_BASE_CLASS
NÚGET_BASE_CLASSz[base is required if cls does not have a GET_BASE_CLASS; is this a valid ComfyNode subclass?)ÚhasattrÚ
ValueErrorr   ÚgetattrÚ__func__ÚmroÚ__dict__)r   r   r
   Ú	base_attrÚ	base_funcÚcÚfuncs   &&$    r   Úfirst_real_overrider"      s    € ð ‚|Ü�sÐ,×-Ò-ÜÐzÓ{Ð{Ø×!Ñ!Ó#ˆÜ˜ DÓ)€IØÒÙØ×"Ñ"€IØ�W‰WŽYˆØ‹9Øñ
 ð	 —:‘:ÖÜ˜1Ó#×,Ñ,ˆDØÕ$Ü˜sÓ)Ò)ñ ñ r   c                   ó4   a € ] tR t^&t o Rt]R 4       tRtV tR# )Ú_ComfyNodeInternalz¤Class that all V3-based APIs inherit from for ComfyNode.

This is intended to only be referenced within execution.py, as it has to handle all V3 APIs going forward.c                ó   € R # ©N© )r   s   &r   ÚGET_NODE_INFO_V1Ú#_ComfyNodeInternal.GET_NODE_INFO_V1*   s   € ár   r'   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úclassmethodr(   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r$   r$   &   s   ø‡ € ñrð ñó ör   r$   c                   ó   € ] tR t^/tRtRtR# )Ú_NodeOutputInternalz¥Class that all V3-based APIs inherit from for NodeOutput.

This is intended to only be referenced within execution.py, as it has to handle all V3 APIs going forward.r'   N)r*   r+   r,   r-   r.   r0   r'   r   r   r5   r5   /   s   † ñró r   r5   c                ó*   € \        \        V 4      4      # )z8Return dict of dataclass object with pruned None values.)Ú
prune_dictr   )Údataclass_objs   &r   Úas_pruned_dictr9   6   s   € ä”f˜]Ó+Ó,Ð,r   c                ó$   € V ^8„  d   QhR\         /# )r   Úd)Údict)r   s   "r   r   r   :   s   € ÷ 8ñ 8”$ñ 8r   c                 ób   € V P                  4        UUu/ uF  w  rVf   K  WbK  	  upp# u uppi r&   )Úitems)r;   ÚkÚvs   &  r   r7   r7   :   s(   € ØŸG™GœIÔ7™I‘S�Q¨ŒDˆAŠD™IÒ7Ð7ùÓ7s   ”+¡+c                ó"   € \        V \        4      # )zH
Returns True if is a class type.
Returns False if is a class instance.
)Ú
isinstancer   )Úobjs   &r   Úis_classrD   >   s   € ô
 �cœ4Ó Ð r   c                ó0   € V ^8„  d   QhR\         R\         /# )r   r   r   )r   )r   s   "r   r   r   F   s   € ÷ ñ ”Dð œTñ r   c                óþ   € V f   R# V P                   P                  4        UUu/ uF  w  rVR9  g   K  WbK  	  ppp\        V P                  V 3V4      pV P                  Vn        V P
                  Vn        V# u uppi )z"
Copy a class and its attributes.
N)r   Ú__weakref__r+   r.   )r   r>   r   r*   r+   r.   )r   r?   r@   Úcls_dictÚnew_clss   &    r   Ú
copy_classrJ   F   s†   € ð ‚{Ùà Ÿ\™\×/Ñ/Ô1ô
Ù1‘T�QØÐLÑLô ˆAŠDÑ1ð ñ 
ô
 Ø�‰Ø	ˆØó€Gð Ÿ™€GÔØ—k‘k€G„OØ€Nùó
s
   ¤A9´A9c                   ó,   a € ] tR t^\t o R tR tRtV tR# )Úclasspropertyc                ó   € Wn         R # r&   ©Úf)ÚselfrO   s   &&r   Ú__init__Úclassproperty.__init__]   s   € ØŽr   c                ó$   € V P                  V4      # r&   rN   )rP   rC   Úowners   &&&r   Ú__get__Úclassproperty.__get___   s   € Ø�v‰v�e‹}Ðr   rN   N)r*   r+   r,   r-   rQ   rU   r0   r1   r2   s   @r   rL   rL   \   s   ø‡ € ò÷ð r   rL   c                óš   € T;'       g    V P                    R2pV 3V P                  ,           p\        W\        V P                  4      4      # )z?
Shallow clone a class while preserving super() functionality.
ÚClone)r*   Ú	__bases__r   r<   r   )r   Únew_nameÚ	new_basess   && r   Úshallow_clone_classr\   d   sB   € ð ×1Ð1˜cŸl™l˜^¨5Ð1€Hà�˜Ÿ™Õ&€IÜ�¤T¨#¯,©,Ó%7Ó8Ð8r   c                óž   € R p ! R R\        V 4      4      p\        V P                  4      pWR&   V! V P                  V P                  V4      # )zB
Lock a class so that its top-levelattributes cannot be modified.
c                 óJ   € \        R V R\        V 4      P                   24      h)zCannot set attribute 'z' on immutable instance of )ÚAttributeErrorr   r*   )rP   r   Úvalues   &&&r   Úlocked_instance_setattrÚ+lock_class.<locals>.locked_instance_setattrs   s+   € ÜØ$ T FÐ*EÄdÈ4Ãj×FYÑFYÐEZÐ[ó
ð 	
r   c                   ó&   a € ] tR t^xt o R tRtV tR# )Úlock_class.<locals>.LockedMetac                ó:   € \        R V RV P                   R24      h)zCannot modify class attribute 'z' on locked class 'Ú')r_   r*   )Úcls_r   r`   s   &&&r   Ú__setattr__Ú*lock_class.<locals>.LockedMeta.__setattr__y   s'   € Ü Ø1°$°Ð7JÈ4Ï=É=È/ÐYZÐ[óð r   r'   N)r*   r+   r,   r-   rh   r0   r1   r2   s   @r   Ú
LockedMetard   x   s   ø‡ € ÷	ð 	r   rj   rh   )r   r<   r   r*   rY   )r   ra   rj   Úlocked_dicts   &   r   Ú
lock_classrl   n   sF   € ò

ô
”T˜#“Yô ô �s—|‘|Ó$€KØ!8�Ñá�c—l‘l C§M¡M°;Ó?Ð?r   c                ó¢   aa€ \        V4      o\        W4      P                  o\        P                  ! S4      '       d
   VV3R lpV# VV3R lpV# )z¼
Returns a function that, when called with **inputs, will execute:
getattr(type_obj, func).__func__(lock_class(class_clone), **inputs)

Supports both synchronous and asynchronous methods.
c               ›   ó2   <"  € S! S3/ V B G R j  x€L
 #  L5ir&   r'   ©ÚinputsÚlocked_classÚmethods   ,€€r   Úwrapped_async_funcÚ3make_locked_method_func.<locals>.wrapped_async_func�   s   øé € Ù Ñ7°Ñ7×7Ð7Ñ7ùs   ƒ�‘c                  ó   <€ S! S3/ V B # r&   r'   ro   s   ,€€r   Úwrapped_funcÚ-make_locked_method_func.<locals>.wrapped_func”   s   ø€ Ù˜,Ñ1¨&Ñ1Ð1r   )rl   r   r   ÚasyncioÚiscoroutinefunction)Útype_objr!   Úclass_cloners   rv   rq   rr   s   &&&  @@r   Úmake_locked_method_funcr|   „   sH   ù€ ô ˜kÓ*€LÜ�XÓ$×-Ñ-€Fô ×"Ò" 6×*Ò*ö	8à!Ð!ö	2àÐr   r&   )Úapi_registryr   r   r   r   rx   Údataclassesr   Útypingr   r	   r"   r$   r5   r9   r7   rD   rJ   ÚobjectrL   r\   rl   r|   r'   r   r   Ú<module>r�      sj   ð÷ó ó Ý ß %ð¸D÷ ÷0ñ ÷ñ ò-õ8ò!õô,�Fô ô9ò@ô,r   