bgblddlZddlmZddlZddlmZddlmZddlmZddl m Z m Z erddl m Z dZdS) N)wraps)get_current_span) TYPE_CHECKING)OP)loggerqualname_from_function)Anyctjrtfd}ntfd}|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()``. cTKttjj}|0t jdt |i|d{VS|tj t 5|i|d{VcdddS#1swxYwYdSNzcCan not create a child span for %s. Please start a Sentry transaction before calling this function.)op description r sentry_sdkHubcurrentrwarningr start_childrFUNCTIONargskwargsspanfuncs m/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/sentry_sdk/tracing_utils_py3.pyfunc_with_tracingz5start_child_span_decorator..func_with_tracings#$JN$:;;D|V*400 "T426222222222!!;2488" 3 3"T42622222222  3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3sBB!$B!c8ttjj}|*t jdt |i|S|tj t 5|i|cdddS#1swxYwYdSr rrs rrz5start_child_span_decorator..func_with_tracing4s$JN$:;;D|V*400 tT,V,,,!!;2488" - -tT,V,,  - - - - - - - - - - - - - - - - - -s:BBB)inspectiscoroutinefunctionr)rrs` rstart_child_span_decoratorr sy"4((+- t 3 3 3 3  3 3, t - - - -  -& )r functoolsrrrsentry_sdk._typesrsentry_sdk.constsrsentry_sdk.utilsrrtypingr r r!rr(s''''''++++++ ;;;;;;;;99999r!