ó
    Û2‰i%  ã                  óL   • S SK Jr  S SKJrJr  S SKJrJr   " S S\5      rS/r	g)é    )Úannotations)Ú
ContextVarÚToken)ÚContextÚ_RuntimeContextc                  óD   • \ rS rSrSrSrS
S jrSS jrSS jrSS jr	Sr
g	)ÚContextVarsRuntimeContexté   z™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                óF   • [        U R                  [        5       S9U l        g )N)Údefault)r   Ú_CONTEXT_KEYr   Ú_current_context©Úselfs    Úf/home/mande/repo/quber/.venv/lib/python3.13/site-packages/opentelemetry/context/contextvars_context.pyÚ__init__Ú"ContextVarsRuntimeContext.__init__   s   € Ü *Ø×Ñ¤w£yñ!
ˆÕó    c                ó8   • U R                   R                  U5      $ )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   ÚattachÚ ContextVarsRuntimeContext.attach"   s   € ð ×$Ñ$×(Ñ(¨Ó1Ð1r   c                ó6   • U R                   R                  5       $ )z%Returns the current `Context` object.)r   Úgetr   s    r   Úget_currentÚ%ContextVarsRuntimeContext.get_current+   s   € à×$Ñ$×(Ñ(Ó*Ð*r   c                ó:   • U R                   R                  U5        g)zXResets Context to a previous value

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