Ë
    –V.j¥  ã                   ój   — d Z ddlmZmZ ddlmZ  ed«      Z ed«      ZdZ G d„ de	«      Z
d	„ Zd
„ Zy)z½Task Annotations.

Annotations is a nice term for monkey-patching task classes
in the configuration.

This prepares and performs the annotations in the
:setting:`task_annotations` setting.
é    )ÚfirstmethodÚmlazy)ÚinstantiateÚannotateÚannotate_any)ÚMapAnnotationÚprepareÚresolve_allc                   ó   — e Zd ZdZd„ Zd„ Zy)r   z(Annotation map: task_name => attributes.c                 ó>   — 	 t        | d   «      S # t        $ r Y y w xY w)NÚ*)ÚdictÚKeyError)Úselfs    úXC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\celery/app/annotations.pyr   zMapAnnotation.annotate_any   s'   € ð	Ü˜˜S™	“?Ð"øÜò 	Ùð	ús   ‚ �	›c                 óR   — 	 t        | |j                     «      S # t        $ r Y y w xY w©N)r   Únamer   )r   Útasks     r   r   zMapAnnotation.annotate   s,   € ð	Ü˜˜TŸY™Y™Ó(Ð(øÜò 	Ùð	ús   ‚ š	&¥&N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © ó    r   r   r      s   „ Ù2òór   r   c                 óv   — d„ }| €yt        | t        t        f«      s| f} | D �cg c]
  } ||«      ‘Œ c}S c c}w )z/Expand the :setting:`task_annotations` setting.c                 ó|   — t        | t        «      rt        | «      S t        | t        «      rt	        t
        | «      S | S r   )Ú
isinstancer   r   Ústrr   r   )Ú
annotations    r   Úexpand_annotationz"prepare.<locals>.expand_annotation$   s4   € Ü�j¤$Ô'Ü  Ó,Ð,Ü˜
¤CÔ(Üœ jÓ1Ð1ØÐr   r   )r   ÚlistÚtuple)Úannotationsr!   Úannos      r   r	   r	   "   sE   € òð ÐØÜ˜¤d¬E ]Ô3Ø"�nˆÙ0;Ó<±¨Ñ˜dÕ#°Ñ<Ð<ùÒ<s   ¤6c                 ó>   — d„ t        | |«      t        | «      fD «       S )z Resolve all pending annotations.c              3   ó&   K  — | ]	  }|sŒ|–— Œ y ­wr   r   )Ú.0Úxs     r   Ú	<genexpr>zresolve_all.<locals>.<genexpr>4   s   è ø€ ÐOÑI�!ÊQŒAÑIùs   ‚Š)Ú_first_matchÚ_first_match_any)r%   r   s     r   r
   r
   2   s   € áOœ T¨4Ó0Ô2BÀ4Ó2HÑIÓOÐOr   N)r   Úcelery.utils.functionalr   r   Úcelery.utils.importsr   r+   r,   Ú__all__r   r   r	   r
   r   r   r   Ú<module>r0      sC   ðñ÷ 7Ý ,á˜:Ó&€Ù˜~Ó.Ð à
5€ô�Dô ò =ó Pr   