§
     ¾<i%  ã                  óT   — 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	dS )é    )Úannotations)Ú
ContextVarÚToken)ÚContextÚ_RuntimeContextc                  ó6   — e Zd ZdZdZdd„Zdd	„Zdd
„Zdd„ZdS )Ú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_contextÚreturnÚNonec                óT   — t          | j        t          ¦   «         ¬¦  «        | _        d S )N)Údefault)r   Ú_CONTEXT_KEYr   Ú_current_context©Úselfs    ú¤/Users/kimhansen/Desktop/03 Workspace/ceo-agents/chl-effectiveness/mcp-servers/whoop/.venv/lib/python3.11/site-packages/opentelemetry/context/contextvars_context.pyÚ__init__z"ContextVarsRuntimeContext.__init__   s+   € Ý *ØÔ¥w¡y¤yð!
ñ !
ô !
ˆÔÐÐó    Úcontextr   úToken[Context]c                ó6   — | 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   r   s     r   Úattachz ContextVarsRuntimeContext.attach"   s   € ð Ô$×(Ò(¨Ñ1Ô1Ð1r   c                ó4   — | j                              ¦   «         S )z%Returns the current `Context` object.)r   Úgetr   s    r   Úget_currentz%ContextVarsRuntimeContext.get_current+   s   € àÔ$×(Ò(Ñ*Ô*Ð*r   Útokenc                ó:   — | j                              |¦  «         dS )zpResets Context to a previous value

        Args:
            token: A reference to a previous Context.
        N)r   Úreset)r   r   s     r   Údetachz ContextVarsRuntimeContext.detach/   s!   € ð 	Ô×#Ò# EÑ*Ô*Ð*Ð*Ð*r   N)r   r   )r   r   r   r   )r   r   )r   r   r   r   )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r!   © r   r   r	   r	      su   € € € € € ðð ð %€Lð
ð 
ð 
ð 
ð
2ð 2ð 2ð 2ð+ð +ð +ð +ð+ð +ð +ð +ð +ð +r   r	   N)
Ú
__future__r   Úcontextvarsr   r   Úopentelemetry.context.contextr   r   r	   Ú__all__r&   r   r   ú<module>r+      s‚   ðð #Ð "Ð "Ð "Ð "Ð "à )Ð )Ð )Ð )Ð )Ð )Ð )Ð )à BÐ BÐ BÐ BÐ BÐ BÐ BÐ Bð+ð +ð +ð +ð + ñ +ô +ð +ðD 'Ð
'€€€r   