Ë
    S>{ib  ã                   ój   — d dl Z d dlmZ d dlZd dlmZ d dlmZ d dlmZ d dl	m
Z
mZ erd dlmZ d„ Zy)	é    N)Úwraps)Úget_current_span)ÚTYPE_CHECKING)ÚOP)ÚloggerÚqualname_from_function)ÚAnyc                 ó‚   ‡ — t        j                  ‰ «      rt        ‰ «      ˆ fd„«       }|S t        ‰ «      ˆ fd„«       }|S )a  
    Decorator to add child spans for functions.

    This is the Python 3 compatible version of the decorator.
    For Python 2 there is duplicated code here: ``sentry_sdk.tracing_utils_python2.start_child_span_decorator()``.

    See also ``sentry_sdk.tracing.trace()``.
    c               Ÿ   ó\  •K  — t        t        j                  j                  «      }|€/t	        j
                  dt        ‰«      «        ‰| i |¤Žƒ d {  –—† S |j                  t        j                  t        ‰«      ¬«      5   ‰| i |¤Žƒ d {  –—† cd d d «       S 7 ŒH7 Œ# 1 sw Y   y xY w­w©NzcCan not create a child span for %s. Please start a Sentry transaction before calling this function.)ÚopÚdescription©
r   Ú
sentry_sdkÚHubÚcurrentr   Úwarningr   Ústart_childr   ÚFUNCTION©ÚargsÚkwargsÚspanÚfuncs      €úZ/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/sentry_sdk/tracing_utils_py3.pyÚfunc_with_tracingz5start_child_span_decorator.<locals>.func_with_tracing   sª   øè ø€ ô $¤J§N¡N×$:Ñ$:Ó;ˆDàˆ|Ü—‘ðVä*¨4Ó0ôñ
 " 4Ð2¨6Ñ2×2Ð2à×!Ñ!Ü—;‘;Ü2°4Ó8ð "ó ñ 3ñ " 4Ð2¨6Ñ2×2÷	3ñ 3ð 3øð 3ø÷	3ð 3üs<   ƒAB,ÁBÁ.B,ÂB ÂBÂB ÂB,ÂB Â B)Â%B,c                  ó,  •— t        t        j                  j                  «      }|€'t	        j
                  dt        ‰«      «        ‰| i |¤ŽS |j                  t        j                  t        ‰«      ¬«      5   ‰| i |¤Žcd d d «       S # 1 sw Y   y xY wr   r   r   s      €r   r   z5start_child_span_decorator.<locals>.func_with_tracing4   s�   ø€ ô $¤J§N¡N×$:Ñ$:Ó;ˆDàˆ|Ü—‘ðVä*¨4Ó0ôñ
 ˜TÐ, VÑ,Ð,à×!Ñ!Ü—;‘;Ü2°4Ó8ð "ó ñ -ñ ˜TÐ, VÑ,÷	-÷ -ò -ús   Á8B
Â
B)ÚinspectÚiscoroutinefunctionr   )r   r   s   ` r   Ústart_child_span_decoratorr       sR   ø€ ô ×"Ñ" 4Ô(ä	ˆt‹ó	3ó 
ð	3ðT Ðô) 
ˆt‹ó	-ó 
ð	-ð& Ðó    )r   Ú	functoolsr   r   r   Úsentry_sdk._typesr   Úsentry_sdk.constsr   Úsentry_sdk.utilsr   r   Útypingr	   r    © r!   r   ú<module>r(      s'   ðÛ Ý ã Ý 'Ý +Ý  ß ;ñ Ýó9r!   