File: //var/opt/nydus/ops/mysql/opentelemetry/trace/propagation/__pycache__/__init__.cpython-39.pyc
a
�,�h� � @ sz d dl mZ d dlmZmZmZ d dlmZ d dlm Z m
Z
dZed�Zd
e
ee ed�dd �Z
dee e
d
�dd�ZdS )� )�Optional)�
create_key� get_value� set_value)�Context)�INVALID_SPAN�Spanzcurrent-spanN)�span�context�returnc C s t t| |d�}|S )z�Set the span in the given context.
Args:
span: The Span to set.
context: a Context object. if one is not passed, the
default current context is used instead.
�r
)r � _SPAN_KEY)r r
�ctx� r �a/opt/nydus/tmp/pip-target-wkfpz8uv/lib64/python/mysql/opentelemetry/trace/propagation/__init__.py�set_span_in_context s r )r
r c C s&