Ë
    ÿÿæi%  ã                  óL   — d dl mZ d dlmZmZ d dlmZmZ  G d„ de«      ZdgZ	y)é    )Úannotations)Ú
ContextVarÚToken)ÚContextÚ_RuntimeContextc                  ó4   — e Zd ZdZdZdd„Zd	d„Zd
d„Zdd„Zy)ÚContextVarsRuntimeContextz¡An implementation of the RuntimeContext interface which wraps ContextVar under
    the hood. This is the preferred implementation for usage with Python 3.5+
    Úcurrent_contextc                óL   — t        | j                  t        «       ¬«      | _        y )N)Údefault)r   Ú_CONTEXT_KEYr   Ú_current_context©Úselfs    ú~/Volumes/fast/ai/experiments/voice-extract-mac/.venv/lib/python3.12/site-packages/opentelemetry/context/contextvars_context.pyÚ__init__z"ContextVarsRuntimeContext.__init__   s   € Ü *Ø×Ñ¤w£yô!
ˆÕó    c                ó8   — | j                   j                  |«      S )z°Sets the current `Context` object. Returns a
        token that can be used to reset to the previous `Context`.

        Args:
            context: The Context to set.
        )r   Úset)r   Úcontexts     r   Úattachz ContextVarsRuntimeContext.attach"   s   € ð ×$Ñ$×(Ñ(¨Ó1Ð1r   c                ó6   — | j                   j                  «       S )z%Returns the current `Context` object.)r   Úgetr   s    r   Úget_currentz%ContextVarsRuntimeContext.get_current+   s   € à×$Ñ$×(Ñ(Ó*Ð*r   c                ó:   — | j                   j                  |«       y)zpResets Context to a previous value

        Args:
            token: A reference to a previous Context.
        N)r   Úreset)r   Útokens     r   Údetachz ContextVarsRuntimeContext.detach/   s   € ð 	×Ñ×#Ñ# EÕ*r   N)ÚreturnÚNone)r   r   r   úToken[Context])r   r   )r   r!   r   r    )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   © r   r   r	   r	      s"   „ ñð %€Ló
ó
2ó+ô+r   r	   N)
Ú
__future__r   Úcontextvarsr   r   Úopentelemetry.context.contextr   r   r	   Ú__all__r&   r   r   Ú<module>r+      s'   ðõ #ç )ç Bô+ ô +ðD 'Ð
'�r   