ó
    Û2‰i”  ã                   ó’   • S SK Jr  S SKJrJrJr  S SKJr  S SKJ	r	J
r
  Sr\" S5      r SS\
S\\   S	\4S
 jjrSS\\   S	\
4S jjrg)é    )ÚOptional)Ú
create_keyÚ	get_valueÚ	set_value)ÚContext)ÚINVALID_SPANÚSpanzcurrent-spanNÚspanÚcontextÚreturnc                 ó"   • [        [        XS9nU$ )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   Úctxs      Úe/home/mande/repo/quber/.venv/lib/python3.13/site-packages/opentelemetry/trace/propagation/__init__.pyÚset_span_in_contextr      s   € ô ”I˜tÑ
5€CØ€Jó    c                 ó^   • [        [        U S9nUb  [        U[        5      (       d  [        $ U$ )zÜRetrieve the current span.

Args:
    context: A Context object. If one is not passed, the
        default current context is used instead.

Returns:
    The Span set in the context if it exists. INVALID_SPAN otherwise.
r   )r   r   Ú
isinstancer	   r   )r   r
   s     r   Úget_current_spanr   &   s,   € ô ”Y¨Ñ0€DØ�|œ: d¬D×1Ñ1ÜÐØ€Kr   )N)Útypingr   Úopentelemetry.contextr   r   r   Úopentelemetry.context.contextr   Úopentelemetry.trace.spanr   r	   ÚSPAN_KEYr   r   r   © r   r   Ú<module>r      sd   ðõ ç BÑ BÝ 1ß 7à€Ù�~Ó&€	ð .2ñØ
ðØ! 'Ñ*ðàõñ˜h wÑ/ð ¸4ö r   