§ <ˆj ã óè — d Z ddlmZ ddlmZmZ n# e$ r ddlmZmZ Y nw xY wddlm Z ddl mZ ddlm Z ddlmZ n# e$ r ddlmZ Y nw xY w e ¦ « Zd„ Z G d „ d e ee¦ « ZddlZdS )z— raven.context ~~~~~~~~~~~~~ :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. é )Úabsolute_import)ÚMappingÚIterable)Úlocal)Úref)Ú iteritems)Ú get_identc óZ — t t j ¦ « S # t $ r g cY S w xY w)z7Returns all the active contexts for the current thread.)ÚlistÚ_active_contextsÚcontextsÚAttributeError© ó úD/opt/cloudlinux/venv/lib64/python3.11/site-packages/raven/context.pyÚget_active_contextsr s= € ðÝÕ$Ô-Ñ.Ô.Ð.øÝð ð ð Øˆ ˆ ˆ ðøøøs ‚ ›*©*c ó� — e Zd ZdZdd„Zed„ ¦ « Zd„ Zd„ Zd„ Z d„ Z d „ Zd „ Zd„ Z d„ Zd „ Zdd„Zd„ Zdd„Zd„ Zd„ Zdd„ZdS )ÚContexta' Stores context until cleared. >>> def view_handler(view_func, *args, **kwargs): >>> context = Context() >>> context.merge(tags={'key': 'value'}) >>> try: >>> return view_func(*args, **kwargs) >>> finally: >>> context.clear() Nc óð — t j |d u p|j ¦ « }|�t |¦ « }|| _ | ¦ « i | _ t ¦ « | _ || _ d S ©N) ÚravenÚbreadcrumbsÚmake_bufferÚenable_breadcrumbsÚweakrefÚ_clientÚactivateÚdataÚsetÚexceptions_to_skip)ÚselfÚclientr s r Ú__init__zContext.__init__2 sq € ÝÔ'×3Ò3Ø�dˆNÐ7˜fÔ7ñ9ô 9ˆàÐݘV‘_”_ˆF؈Œð � Š ‰ŒˆØˆŒ Ý"%¡%¤%ˆÔØ&ˆÔÐÐr c ó<