Ë
    ÒÍ:j¡  ã                  óh   — d dl mZ d dlmZmZ d dlmZ  G d„ deee	f   «      Z
 G d„ de«      ZdgZy)	é    )Úannotations)ÚABCÚabstractmethod)ÚTokenc                  ó   — e Zd Zdd„Zy)ÚContextc                ó   — t         ‚)N)Ú
ValueError)ÚselfÚkeyÚvalues      úr/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/opentelemetry/context/context.pyÚ__setitem__zContext.__setitem__   s   € ÜÐó    N)r   Ústrr   ÚobjectÚreturnÚNone)Ú__name__Ú
__module__Ú__qualname__r   © r   r   r   r   
   s   „ ôr   r   c                  óF   — e Zd ZdZedd„«       Zedd„«       Zedd„«       Zy)	Ú_RuntimeContextzîThe RuntimeContext interface provides a wrapper for the different
    mechanisms that are used to propagate context in Python.
    Implementations can be made available via entry_points and
    selected through environment variables.
    c                 ó   — y)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.
        Nr   )r   Úcontexts     r   Úattachz_RuntimeContext.attach   ó   � r   c                 ó   — y)z%Returns the current `Context` object.Nr   )r   s    r   Úget_currentz_RuntimeContext.get_current   r   r   c                 ó   — y)zpResets Context to a previous value

        Args:
            token: A reference to a previous Context.
        Nr   )r   Útokens     r   Údetachz_RuntimeContext.detach#   r   r   N)r   r   r   úToken[Context])r   r   )r"   r$   r   r   )r   r   r   Ú__doc__r   r   r    r#   r   r   r   r   r      sC   „ ñð òó ðð ò4ó ð4ð òó ñr   r   N)Ú
__future__r   Úabcr   r   Úcontextvarsr   Údictr   r   r   r   Ú__all__r   r   r   ú<module>r+      s:   ðõ #ç #Ý ôˆd�3˜�;Ñô ô
�cô ð: ˆ+�r   