Repository URL to install this package:
|
Version:
0.1.5-1 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
opentelemetry
/
context
/
__pycache__
/
context.cpython-311.pyc
|
|---|
§
æbg` ã óv d dl Z d dlmZmZ G d de j eef ¦ « Z G d de¦ « ZdgZ dS )é N)ÚABCÚabstractmethodc ó" e Zd ZdededdfdZdS )ÚContextÚkeyÚvalueÚreturnNc ó t )N)Ú
ValueError)Úselfr r s úD/tmp/pip-target-vp8_xwat/lib/python/opentelemetry/context/context.pyÚ__setitem__zContext.__setitem__ s ÝÐó )Ú__name__Ú
__module__Ú__qualname__ÚstrÚobjectr © r r
r r s= ðsð ¨6ð °dð ð ð ð ð ð r r c ón e Zd ZdZededefd¦ « Zedefd¦ « Zededdfd¦ « Z dS ) Ú_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.
Úcontextr c ó dS )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 r s r
Úattachz_RuntimeContext.attach ó r c ó dS )z%Returns the current `Context` object.Nr )r s r
Úget_currentz_RuntimeContext.get_current( r r ÚtokenNc ó dS )zpResets Context to a previous value
Args:
token: A reference to a previous Context.
Nr )r r s r
Údetachz_RuntimeContext.detach, r r )
r r r Ú__doc__r r r r r r r r r
r r s¡ ðð ð ðgð ¨&ð ð ð ñ ^ðð ð4Wð 4ð 4ð 4ñ ^ð4ð ðFð tð ð ð ñ ^ðð ð r r )
ÚtypingÚabcr r ÚDictr r r r Ú__all__r r r
ú<module>r&