§ <ˆjªiãóà—ddlZddlZddlmZddlmZddlmZddlmZddl m Z ddl m Z ddl mZdd lmZmZmZmZmZdd lmZdd lmZmZdd lmZmZmZmZdd lm Z e rnddl!m"Z"ddl!m#Z#ddl!m$Z$ddl!m%Z%ddl!m&Z&ddl!m'Z'ddl!m(Z(ddl!m)Z)ddl!m*Z*ddl!m+Z+ddl!m,Z,ddl!m-Z-ddl.m/Z/ddlm0Z0m1Z1m2Z2m3Z3m4Z4ddlm5Z5e+d¦«Z6nd„Z,ed¦«Z7d „Z8d!„Z9Gd"„d#e:¦«Z;d$„Zn d(„¦«Z>Gd)„d*e?¦«Z@Gd+„d,e:¦«ZAGd-„d.ee@¦«¦«ZBeB¦«ZCe7 DeC¦«dS)/éN)Údatetime)Úcontextmanager)Úwith_metaclass)Ú INSTRUMENTER©ÚScope)ÚClient)ÚProfile)ÚNoOpSpanÚSpanÚ TransactionÚBAGGAGE_HEADER_NAMEÚSENTRY_TRACE_HEADER_NAME)ÚSession)Úhas_tracing_enabledÚnormalize_incoming_data)Úexc_info_from_errorÚevent_from_exceptionÚloggerÚ ContextVar)Ú TYPE_CHECKING)ÚUnion)ÚAny)ÚOptional)ÚTuple)ÚDict)ÚList)ÚCallable)Ú Generator)ÚType)ÚTypeVar)Úoverload)ÚContextManager)Ú Integration)ÚEventÚHintÚ BreadcrumbÚBreadcrumbHintÚExcInfo)ÚClientConstructorÚTcó—|S©N©)Úxs úE/opt/cloudlinux/venv/lib64/python3.11/site-packages/sentry_sdk/hub.pyr"r">s€àˆóÚsentry_current_hubcó—|r|rtd¦«‚|�Etj|¦«}t|¦«r ||¦«n<| |¦«n&|r"tj|¦«}|jdi|¤Žn|}|S)Nzcannot provide scope and kwargsr.)Ú TypeErrorÚcopyÚcallableÚupdate_from_scopeÚupdate_from_kwargs)ÚbaseÚ scope_changeÚ scope_kwargsÚ final_scopes r0Ú _update_scoper=Fs©€àð;˜ ð;ÝÐ9Ñ:Ô:Ð:ØÐÝ”i ‘o”oˆ Ý �LÑ !Ô !ð 8Ø ˆL˜Ñ %Ô %Ð %Ð %à × )Ò )¨,Ñ 7Ô 7Ð 7Ð 7Ø ðÝ”i ‘o”oˆ Ø&ˆ Ô&Ð6Ð6¨Ð6Ð6Ð6Ð6àˆ Ø Ðr1cóF—tjj}|sdS|jdS)NFÚsend_default_pii)ÚHubÚcurrentÚclientÚoptions)rBs r0Ú_should_send_default_piirDXs'€å Œ[Ô €FØ ð؈uØ Œ>Ð,Ô -Ð-r1có —eZdZd„Zd„Zd„ZdS)Ú _InitGuardcó—||_dSr-)Ú_client)ÚselfrBs r0Ú__init__z_InitGuard.__init__as €àˆŒ ˆ ˆ r1có—|Sr-r.©rIs r0Ú __enter__z_InitGuard.__enter__es€àˆ r1cóD—|j}|�| ¦«dSdSr-)rHÚclose)rIÚexc_typeÚ exc_valueÚtbÚcs r0Ú__exit__z_InitGuard.__exit__is&€à ŒLˆØ ˆ=Ø �GŠG‰IŒIˆIˆIˆIð ˆ=r1N©Ú__name__Ú __module__Ú __qualname__rJrMrTr.r1r0rFrF`sA€€€€€ðððððððððððr1rFcó¬—tjdd…}|dks|dkr3tjddj|ަ«tjd¦«dSdS)Né)éé)r[éz1sentry-sdk 2.0.0 will drop support for Python %s.z{}.{}zQPlease upgrade to the latest version to continue receiving upgrades and bugfixes.)ÚsysÚ version_inforÚwarningÚformat)Úversions r0Ú_check_python_deprecationsrcpsv€åÔ˜r ˜rÔ"€Gà�&ÒИG vÒ-Ð-ÝŒØ ?Ø ˆGŒN˜GÐ $ñ ô ð õ ŒØ _ñ ô ð ð ð ð .Ð-r1có–—t|i|¤Ž}tj |¦«t ¦«t |¦«}|S)zsInitializes the SDK and optionally integrations. This takes the same arguments as the client constructor. )r r@rAÚ bind_clientrcrF)ÚargsÚkwargsrBÚrvs r0Ú_initri~sJ€õ �TÐ $˜VÐ $Ð $€FÝ„K×Ò˜FÑ#Ô#Ð#ÝÑ Ô Ð Ý �FÑ Ô €BØ €Ir1có—eZdZdS)ÚinitN)rVrWrXr.r1r0rkrk”s€€€€€Ø ˆr1rkcó—tSr-)rir.r1r0úrmœs€•E€r1có:—eZdZed„¦«Zed„¦«ZdS)ÚHubMetacóš—t d¦«}|€.tt¦«}t |¦«|S)z(Returns the current instance of the hub.N)Ú_localÚgetr@Ú GLOBAL_HUBÚset)Úclsrhs r0rAzHubMeta.current s9€õ�ZŠZ˜Ñ Ô ˆØ ˆ:Ý•Z‘”ˆBÝ �JŠJ�r‰NŒNˆN؈ r1có—tS)z%Returns the main instance of the hub.)rs)rus r0Úmainz HubMeta.mainªs €õÐr1N)rVrWrXÚpropertyrArwr.r1r0roroŸsH€€€€€Ø ððñ„Xððððñ„Xðððr1rocó —eZdZd„Zd„Zd„ZdS)Ú _ScopeManagercój—||_t|j¦«|_|jd|_dS©Néÿÿÿÿ)Ú_hubÚlenÚ_stackÚ _original_lenÚ_layer)rIÚhubs r0rJz_ScopeManager.__init__²s*€àˆŒ Ý  ¤™_œ_ˆÔØ”j ”nˆŒ ˆ ˆ r1có(—|jd}|€J‚|S)Né)r‚)rIÚscopes r0rMz_ScopeManager.__enter__¸s€à” ˜A”ˆØÐ РР؈ r1cóL—t|jj¦«}||jkrt jd|j|z ¦«dS||jkr5t jd||jz |jj|jd…¦«|jj|jdz }|jj|jdz d…=|d|jdkr)t jd|d|jd¦«dS|d|jdkrd}t j|¦«dSdS)Nz1Scope popped too soon. Popped %s scopes too many.zLeaked %s scopes: %sr…z2Wrong scope found. Meant to pop %s, but popped %s.rzÛinit() called inside of pushed scope. This might be entirely legitimate but usually occurs when initializing the SDK inside a request handler or task/job function. Try to initialize the SDK as early as possible instead.)rr~r€r�rÚerrorr`r‚)rIrPrQrRÚ current_lenÚlayerr`s r0rTz_ScopeManager.__exit__¾sL€å˜$œ)Ô*Ñ+Ô+ˆ Ø ˜Ô+Ò +Ð +Ý ŒLØCØÔ" [Ñ0ñ ô ð ð ˆFØ ˜4Ô-Ò -Ð -Ý ŒNØ&ؘdÔ0Ñ0Ø” Ô  Ô!3Ð!5Ð!5Ô6ñ ô ð ð ” Ô  Ô!3°aÑ!7Ô8ˆØ ŒIÔ ˜TÔ/°!Ñ3Ð5Ð5Ð 6à �Œ8�t”{ 1”~Ò %Ð %Ý ŒLØDØ�a”Ø” ˜A”ñ ô ð ð ð ð �1ŒX˜œ QœÒ 'Ð 'ð4ð õ ŒN˜7Ñ #Ô #Ð #Ð #Ð #ð(Ð 'r1NrUr.r1r0rzrz±sA€€€€€ð%ð%ð%ð ððð $ð $ð $ð $ð $r1rzcóš—eZdZdZdZerdZdZ d&d„Zd„Z d„Z d„Z d„Z e d„¦«Ze d „¦«Zd „Zd „Zd&d „Zd&d „Zd&d„Zd„Zd&d„Zdejfd„Zdejfd„Zd'd„Ze d(d„¦«Zed„¦«Z d)d„Zd„Ze d(d„¦«Zed„¦«Z d)d„Z d*d„Z d„Z!d„Z"d „Z# d&d!„Z$d"„Z%d#„Z&d(d$„Z'd(d%„Z(dS)+r@zýThe hub wraps the concurrency management of the SDK. Each thread has its own hub but the hub might transfer with the flow of execution if context vars are available. If the hub is used with a with statement it's temporarily activated. NcóÖ—t|t¦«r)|}|jd\}}|€tj|¦«}n|}|€t ¦«}||fg|_d|_g|_dSr|)Ú isinstancer@r€r5rÚ_last_event_idÚ _old_hubs)rIÚ client_or_hubr†rƒrBÚ other_scopes r0rJz Hub.__init__ñst€õ �m¥SÑ )Ô )ð #؈CØ"%¤*¨R¤.Ñ ˆF�K؈}Ýœ  +Ñ.Ô.�øà"ˆFØ ˆ=Ý‘G”GˆEà �Ð'ˆŒ Ø"ˆÔ؈Œˆˆr1có‚—|j tj¦«t |¦«|Sr-)r�Úappendr@rArqrtrLs r0rMz Hub.__enter__s1€à Œ×Ò�cœkÑ*Ô*Ð*Ý� Š �4ÑÔÐØˆ r1cól—|j ¦«}t |¦«dSr-)r�Úpoprqrt)rIrPrQrRÚolds r0rTz Hub.__exit__ s*€ðŒn× Ò Ñ"Ô"ˆÝ� Š �3‰Œˆˆˆr1cóN—|5|¦«cddd¦«S#1swxYwYdS)z~Runs a callback in the context of the hub. Alternatively the with statement can be used on the hub directly. Nr.©rIÚcallbacks r0ÚrunzHub.runsw€ðð ð Ø�8‘:”:ð ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð ð s ƒ š¡cóÄ—t|t¦«r|}n|j�|j}ntd¦«‚|j}|�|j |¦«}|�|SdSdS)aReturns the integration for this hub by name or class. If there is no client bound or the client does not have that integration then `None` is returned. If the return value is not `None` the hub is guaranteed to have a client attached. NzIntegration has no name)r�ÚstrÚ identifierÚ ValueErrorrBÚ integrationsrr)rIÚ name_or_classÚintegration_namerBrhs r0Úget_integrationzHub.get_integrations~€õ �m¥SÑ )Ô )ð 8Ø,Ð Ð Ø Ô %Ð 1Ø,Ô7Ð Ð åÐ6Ñ7Ô7Ð 7à”ˆØ Ð ØÔ$×(Ò(Ð)9Ñ:Ô:ˆB؈~Ø� ð Ð àˆ~r1có(—|jddS)z&Returns the current client on the hub.r}r©r€rLs r0rBz Hub.client7ó€ðŒ{˜2Œ˜qÔ!Ð!r1có(—|jddS)z%Returns the current scope on the hub.r}r…r¤rLs r0r†z Hub.scope=r¥r1có—|jS)zReturns the last event ID.)rŽrLs r0Ú last_event_idzHub.last_event_idCs €ðÔ"Ð"r1cóD—|jd}||df|jd<dS)zBinds a new client to the hub.r}r…Nr¤)rIÚnewÚtops r0rezHub.bind_clientHs&€ð Œk˜"ŒoˆØ  A¤˜-ˆŒ �B‰ˆˆr1c óÆ—|jd\}}t|||¦«}|�=| d¦«dk}| |||¦«}|� |s||_|SdS)zÛ Captures an event. Alias of :py:meth:`sentry_sdk.Client.capture_event`. :param scope_args: For supported `**scope_args` see :py:meth:`sentry_sdk.Scope.update_from_kwargs`. r}NÚtypeÚ transaction)r€r=rrÚ capture_eventrŽ) rIÚeventÚhintr†Ú scope_argsrBÚ top_scopeÚis_transactionrhs r0r¯zHub.capture_eventPss€ð!œK¨œOш� ݘi¨° Ñ;Ô;ˆØ Ð Ø"ŸYšY vÑ.Ô.°-Ò?ˆNØ×%Ò% e¨T°5Ñ9Ô9ˆB؈~ nˆ~Ø&(�Ô#؈I؈tr1c óB—|j€dS|€d}|j||dœfd|i|¤ŽS)aç Captures a message. :param message: The string to send as the message. :param level: If no level is provided, the default level is `info`. :param scope: An optional :py:class:`sentry_sdk.Scope` to use. :param scope_args: For supported `**scope_args` see :py:meth:`sentry_sdk.Scope.update_from_kwargs`. :returns: An `event_id` if the SDK decided to send the event (see :py:meth:`sentry_sdk.Client.capture_event`). NÚinfo)ÚmessageÚlevelr†)rBr¯)rIr·r¸r†r²s r0Úcapture_messagezHub.capture_messagedsR€ð Œ;Ð Ø�4Ø ˆ=؈EØ!ˆtÔ!ب%Ð 0Ð 0ð ð Ø8=ð ØAKð ð ð r1c ó(—|j}|€dS|�t|¦«}ntj¦«}t ||j¬¦«\}} |j|f||dœ|¤ŽS#t$r)| tj¦«¦«YnwxYwdS)ahCaptures an exception. :param error: An exception to catch. If `None`, `sys.exc_info()` will be used. :param scope_args: For supported `**scope_args` see :py:meth:`sentry_sdk.Scope.update_from_kwargs`. :returns: An `event_id` if the SDK decided to send the event (see :py:meth:`sentry_sdk.Client.capture_event`). N)Úclient_options)r±r†) rBrr^Úexc_inforrCr¯Ú ExceptionÚ_capture_internal_exception)rIrˆr†r²rBr¼r°r±s r0Úcapture_exceptionzHub.capture_exception|s¶€ð”ˆØ ˆ>Ø�4Ø Ð Ý*¨5Ñ1Ô1ˆHˆHå”|‘~”~ˆHå*¨8ÀFÄNÐSÑSÔS‰ ˆˆtð =Ø%�4Ô% eÐR°$¸eÐRÐRÀzÐRÐRÐ RøÝð =ð =ð =Ø × ,Ò ,­S¬\©^¬^Ñ <Ô <Ð <Ð <Ð <ð =øøøðˆtsÁ AÁ0BÂBcó2—tjd|¬¦«dS)z¯ Capture an exception that is likely caused by a bug in the SDK itself. These exceptions do not end up in Sentry and are just logged instead. zInternal error in sentry_sdk)r¼N)rrˆ)rIr¼s r0r¾zHub._capture_internal_exception—s €õ Œ Ð3¸hÐGÑGÔGÐGÐGÐGr1c ó¸—|jd\}}|€tjd¦«dSt|pd¦«}| |¦«|sdSt|pd¦«}| d¦«€t j¦«|d<| d¦«€d|d<|jd�|jd||¦«}n|}|�|j   |¦«ntjd |¦«|jd }t|j ¦«|kr3|j   ¦«t|j ¦«|k°1dSdS) a Adds a breadcrumb. :param crumb: Dictionary with the data as the sentry v7/v8 protocol expects. :param hint: An optional value that can be used by `before_breadcrumb` to customize the breadcrumbs that are emitted. r}Nz*Dropped breadcrumb because no client boundr.Ú timestampr­ÚdefaultÚbefore_breadcrumbz)before breadcrumb dropped breadcrumb (%s)Úmax_breadcrumbs) r€rr¶ÚdictÚupdaterrrÚutcnowrCÚ _breadcrumbsr“rÚpopleft)rIÚcrumbr±rgrBr†Ú new_crumbrÅs r0Úadd_breadcrumbzHub.add_breadcrumb£sk€ðœ  Bœ‰ ˆ�Ø ˆ>Ý ŒKÐDÑ EÔ EÐ EØ ˆFå�U�[˜bÑ!Ô!ˆØ � Š �VÑÔÐØð Ø ˆFå�D�J˜BÑÔˆà �9Š9�[Ñ !Ô !Ð )Ý!)¤Ñ!2Ô!2ˆE�+Ñ Ø �9Š9�VÑ Ô Ð $Ø%ˆE�&‰Mà Œ>Ð-Ô .Ð :Ø;˜œÐ':Ô;¸EÀ4ÑHÔHˆIˆIàˆIà Ð Ø Ô × %Ò % iÑ 0Ô 0Ð 0Ð 0å ŒKÐCÀUÑ KÔ KÐ Kà œ.Ð):Ô;ˆÝ�%Ô$Ñ%Ô%¨Ò7Ð7Ø Ô × &Ò &Ñ (Ô (Ð (õ�%Ô$Ñ%Ô%¨Ò7Ð7Ð7Ð7Ð7Ð7r1c ó„—|jo|jjd}||krt¦«St|t¦«sd|vr|d}t|t¦«r)t j|¦«| |¦«Sd|vr8t j|¦«| d¦«}|jd d|i|¤ŽS|�|S|  d|¦«|j j }|� |j d i|¤ŽSd|vr:|  ¦«}|r| d¦«d nd}|�||d<td i|¤ŽS) a“ Start a span whose parent is the currently active span or transaction, if any. The return value is a :py:class:`sentry_sdk.tracing.Span` instance, typically used as a context manager to start and stop timing in a `with` block. Only spans contained in a transaction are sent to Sentry. Most integrations start a transaction at the appropriate time, for example for every incoming HTTP request. Use :py:meth:`sentry_sdk.start_transaction` to start a new transaction when one is not already in progress. For supported `**kwargs` see :py:class:`sentry_sdk.tracing.Span`. Ú instrumenterr®zcDeprecated: use start_transaction to start transactions and Transaction.start_child to start spans.ÚnameNrƒÚtrace_idú-rr.)rBrCr r�r rr`Ústart_transactionr•Ú setdefaultr†ÚspanÚ start_childÚget_traceparentÚsplitr ) rIrÕrÏrgÚconfiguration_instrumenterÚdeprecation_msgrÐÚ traceparentrÑs r0Ú start_spanzHub.start_spanÌs…€ð"&*¤[Ð%X°T´[Ô5HÈÔ5XÐ"à Ð5Ò 5Ð 5Ý‘:”:Ð õ �d�KÑ (Ô (ð C¨M¸VÐ,CÐ,Cð:ð õ˜$¥ Ñ,Ô,ð 4Ý”˜Ñ/Ô/Ð/Ø×-Ò-¨dÑ3Ô3Ð3Ø Ð&Ð&Ý”˜Ñ/Ô/Ð/Ø—z’z -Ñ0Ô0�Ø-�tÔ-ÐBÐB°4ÐB¸6ÐBÐBÐBà Р؈Kà×Ò˜% Ñ&Ô&Ð&àŒzŒˆØ Ð Ø#�4Ô#Ð-Ð- fÐ-Ð-Ð -ð ˜VÐ #Ð #Ø×.Ò.Ñ0Ô0ˆKØ4?ÐI�{×(Ò(¨Ñ-Ô-¨aÔ0Ð0ÀTˆHØÐ#Ø%-��zÑ"åˆ~ˆ~�fˆ~ˆ~Ðr1c óF—|jo|jjd}||krt¦«S| di¦«}|€"| d|¦«t d i|¤Ž}| ¦«|jdœ}| |¦«|  |¬¦«t||¬¦«}|  |¬¦«|j rD|jo$|jjd  d ¦«pd }|  |¬ ¦«|S) aá Start and return a transaction. Start an existing transaction if given, otherwise create and start a new transaction with kwargs. This is the entry point to manual tracing instrumentation. A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a new child span within the transaction or any span, call the respective `.start_child()` method. Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded. When used as context managers, spans and transactions are automatically finished at the end of the `with` block. If not using context managers, call the `.finish()` method. When the transaction is finished, it will be sent to Sentry with all its finished child spans. For supported `**kwargs` see :py:class:`sentry_sdk.tracing.Transaction`. rÏÚcustom_sampling_contextNrƒ)Útransaction_contextÚparent_sampled)Úsampling_context)rƒÚ _experimentsÚ max_spansiè)Úmaxlenr.)rBrCr r•rÔr Úto_jsonràrÇÚ_set_initial_sampling_decisionr ÚsampledrrÚinit_span_recorder) rIr®rÏrgrÙrÞráÚprofilerãs r0rÓzHub.start_transactionsO€ð8&*¤[Ð%X°T´[Ô5HÈÔ5XÐ"à Ð5Ò 5Ð 5Ý‘:”:Ð à"(§*¢*Ð-FÈÑ"KÔ"KÐð Ð Ø × Ò ˜e TÑ *Ô *Ð *Ý%Ð/Ð/¨Ð/Ð/ˆKð $/×#6Ò#6Ñ#8Ô#8Ø)Ô8ð ð Ðð ×ÒÐ 7Ñ8Ô8Ð8Ø×2Ò2ÐDTÐ2ÑUÔUÐUå˜+¨4Ð0Ñ0Ô0ˆØ×.Ò.Ð@PÐ.ÑQÔQÐQð Ô ð =à” ÐT ¤ Ô 3°NÔ C× GÒ GÈ Ñ TÔ Tðàð ð × *Ò *°)Ð *Ñ <Ô <Ð <àÐr1cóÒ—| ¦«5}| |¦«ddd¦«n #1swxYwYtjt |¦«|||¬¦«}|S)ze Sets the propagation context from environment or headers and returns a transaction. N)ÚoprÐÚsource)Úconfigure_scopeÚgenerate_propagation_contextr Úcontinue_from_headersr)rIÚenviron_or_headersrërÐrìr†r®s r0Úcontinue_tracezHub.continue_traceBsÀð × !Ò !Ñ #Ô #ð C uØ × .Ò .Ð/AÑ BÔ BÐ Bð Cð Cð Cñ Cô Cð Cð Cð Cð Cð Cð Cøøøð Cð Cð Cð Cõ"Ô7Ý #Ð$6Ñ 7Ô 7ØØØð  ñ ô ˆ ð Ðs •7·;¾;có—dSr-r.r˜s r0Ú push_scopezHub.push_scopeRó €ð ˆr1có—dSr-r.r˜s r0rózHub.push_scopeYrôr1TcóF—|�9| ¦«5}||¦«ddd¦«n #1swxYwYdS|jd\}}tj|¦«}|r| ¦«||f}|j |¦«t |¦«S)a. Pushes a new layer on the scope stack. :param callback: If provided, this method pushes a scope, calls `callback`, and pops the scope again. :returns: If no `callback` is provided, a context manager that should be used to pop the scope again. Nr})rór€r5rîr“rz)rIr™rñr†rBÚ new_scopeÚ new_layers r0rózHub.push_scope`sä€ð Ð Ø—’Ñ"Ô"ð  eØ�˜‘”�ð ð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð à�4àœ  Bœ‰ ˆ�å”I˜eÑ$Ô$ˆ à ð 5Ø × 2Ò 2Ñ 4Ô 4Ð 4à˜YÐ'ˆ Ø Œ ×Ò˜9Ñ%Ô%Ð%å˜TÑ"Ô"Ð"s — /¯3¶3cóZ—|j ¦«}|js Jd¦«‚|S)z{ Pops a scope layer from the stack. Try to use the context manager :py:meth:`push_scope` instead. z"stack must have at least one layer)r€r•)rIrhs r0Úpop_scope_unsafezHub.pop_scope_unsafe€s0€ðŒ[�_Š_Ñ Ô ˆØŒ{Ð@Ð@Ð@Ñ@Ô@ˆ{؈ r1có—dSr-r.r˜s r0rízHub.configure_scope‹rôr1có—dSr-r.r˜s r0rízHub.configure_scope’rôr1c󮇇—|jd\ŠŠ|r‰ ¦«|�‰� |‰¦«dStˆˆfd„¦«}|¦«S)zÛ Reconfigures the scope. :param callback: If provided, call the callback with the current scope. :returns: If no callback is provided, returns a context manager that returns the scope. r}Nc3ó<•K—‰�‰V—dSt¦«V—dSr-r)rBr†s€€r0Úinnerz"Hub.configure_scope..inner³s-øèè€ðÐ!Ø� � � � � å‘g”g� � � � � r1)r€rîr)rIr™rñrÿrBr†s @@r0rízHub.configure_scope™s‚øø€ðœ  Bœ‰ ˆ�à ð 1Ø × .Ò .Ñ 0Ô 0Ð 0à Ð ØÐ!Ø�˜‘”�à�4å ð ð ð ð ð ñ Œð ðˆu‰wŒwˆr1Ú applicationcóÄ—| ¦«|jd\}}t|r |jdnd|r |jdnd|j|¬¦«|_dS)zStarts a new session.r}ÚreleaseNÚ environment)rrÚuserÚ session_mode)Ú end_sessionr€rrCÚ_userÚ_session)rIrrBr†s r0Ú start_sessionzHub.start_session½so€ð ×ÒÑÔÐØœ  Bœ‰ ˆ�Ý Ø17ÐA�F”N 9Ô-Ð-¸TØ9?ÐI˜œ }Ô5Ð5ÀTØ”Ø%ð  ñ ô ˆŒˆˆr1có®—|jd\}}|j}d|j_|�-| ¦«|�| |¦«dSdSdS)z)Ends the current session if there is one.r}N)r€rr†rOÚcapture_session)rIrBr†Úsessions r0rzHub.end_sessionËse€ðœ  Bœ‰ ˆ�Ø”.ˆØ"ˆŒ Ôà Ð Ø �MŠM‰OŒOˆOØÐ!Ø×&Ò& wÑ/Ô/Ð/Ð/Ð/ð Ð à!Ð!r1có\—| ¦«|jd\}}d|_dS)zÀStops automatic session tracking. This temporarily session tracking for the current scope when called. To resume session tracking call `resume_auto_session_tracking`. r}FN)rr€Ú_force_auto_session_tracking©rIrBr†s r0Ústop_auto_session_trackingzHub.stop_auto_session_tracking×s3€ð ×ÒÑÔÐØœ  Bœ‰ ˆ�Ø-2ˆÔ*Ð*Ð*r1có4—|jd\}}d|_dS)z«Resumes automatic session tracking for the current scope if disabled earlier. This requires that generally automatic session tracking is enabled. r}N)r€rrs r0Úresume_auto_session_trackingz Hub.resume_auto_session_trackingâs!€ð œ  Bœ‰ ˆ�Ø-1ˆÔ*Ð*Ð*r1cóX—|jd\}}|�| ||¬¦«SdS)z> Alias for :py:meth:`sentry_sdk.Client.flush` r}N)Útimeoutr™)r€Úflush)rIrr™rBr†s r0rz Hub.flushës7€ðœ  Bœ‰ ˆ�Ø Ð Ø—<’<¨¸(�<ÑCÔCÐ Cð Ð r1cóÈ—|j�Ct|jj¦«r*|jj�|jj ¦«S|j ¦«S)zX Returns the traceparent either from the active span or from the scope. )rBrrCr†rÕÚto_traceparentr×rLs r0r×zHub.get_traceparentøsT€ð Œ;Ð "Ý" 4¤;Ô#6Ñ7Ô7ð 8¸D¼J¼OÐNØ×+Ò+Ñ-Ô-ð ð �Ø� � � � ð ð ðœ*×1Ò1Ñ3Ô3ð ð �Ø� � � � ð ð r1cóÒ—|�tjd¦«d}| ¦«}|�|dt›d|›d�z }| ¦«}|�|dt ›d|›d�z }|S)z‚ Return meta tags which should be injected into HTML templates to allow propagation of trace information. NzaThe parameter `span` in trace_propagation_meta() is deprecated and will be removed in the future.Úz )rr`r×rrr)rIrÕÚmetaÚ sentry_tracers r0Útrace_propagation_metazHub.trace_propagation_meta+s¡€ð Ð Ý ŒNØsñ ô ð ðˆà×+Ò+Ñ-Ô-ˆ Ø Ð #Ø ˆDÝ(Ð(Ð(Ø� � ðñ ˆDð ×"Ò"Ñ$Ô$ˆØ Ð Ø ˆDÝ#Ð#Ð#Ø��ðñ ˆDð ˆ r1)NN)NNNr-)NT)r))rVrWrXÚ__doc__r€rrArwrJrMrTršr¢rxrBr†r¨rer¯r¹r¿r¾rÍrÚSENTRYrÜrÓrñr"rórúrír rrrrr×rr!r&r.r1r0r@r@ás €€€€€ððð€FððØˆØˆðØððððð(ððð ððððððððð0ð"ð"ñ„Xð"ð ð"ð"ñ„Xð"ð #ð#ð#ð (ð(ð(ððððð( ð ð ð ð0ðððð6 Hð Hð Hð')ð')ð')ð')ðR#°Ô1Dð6ð6ð6ð6ðr¨\Ô-@ð<ð<ð<ð<ð|ðððð àð ð ð ñ„Xð ð ð ð ñ„Xð ðØð#ð#ð#ð#ð@ ð ð ðàð ð ð ñ„Xð ð ð ð ñ„Xð ðØð"ð"ð"ð"ðJ)ð  ð  ð  ð  ð 0ð 0ð 0ð 3ð 3ð 3ð2ð2ð2ðØð Dð Dð Dð Dð ,ð ,ð ,ðððð&ðððð*ðððððr1r@)Er5r^rÚ contextlibrÚsentry_sdk._compatrÚsentry_sdk.constsrÚsentry_sdk.scoperÚsentry_sdk.clientr Úsentry_sdk.profilerr Úsentry_sdk.tracingr r r rrÚsentry_sdk.sessionrÚsentry_sdk.tracing_utilsrrÚsentry_sdk.utilsrrrrÚsentry_sdk._typesrÚtypingrrrrrrrrr r!r"r#Úsentry_sdk.integrationsr$r%r&r'r(r)r*r+rqr=rDÚobjectrFrcrirkr­rorzr@rsrtr.r1r0úr7s_ðØ € € € Ø € € € àÐÐÐÐÐØ%Ð%Ð%Ð%Ð%Ð%à-Ð-Ð-Ð-Ð-Ð-Ø*Ð*Ð*Ð*Ð*Ð*Ø"Ð"Ð"Ð"Ð"Ð"Ø$Ð$Ð$Ð$Ð$Ð$Ø'Ð'Ð'Ð'Ð'Ð'ððððððððððððððð'Ð&Ð&Ð&Ð&Ð&ððððððððð ðððððððððððð,Ð+Ð+Ð+Ð+Ð+àðØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØ Ð Ð Ð Ð Ð ØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØ%Ð%Ð%Ð%Ð%Ð%à3Ð3Ð3Ð3Ð3Ð3ððððððððððððððð4Ð3Ð3Ð3Ð3Ð3àˆ�‰ Œ €A€Aðððð ˆÐ(Ñ )Ô )€ðððð$.ð.ð.ð ð ð ð ð �ñ ô ð ð  ð  ð  ð ð ð ð,Ð+Ð+Ð+Ð+Ð+àðð ð ð ð ð Ð  *ñ ô ð ð ð ˆMˆMÑ Ô €Dðððððˆdñôðð$-$ð-$ð-$ð-$ð-$�Fñ-$ô-$ð-$ð`e ðe ðe ðe ðe ˆ.ˆ.˜Ñ !Ô !ñe ôe ðe ðPˆS‰UŒU€ ؇ ‚ ˆ:ÑÔÐÐÐr1