You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2023. It is now read-only.
If I want to test with MockTracer, and in my business code it calls start_span with child_of parameter, an error will occur as original SpanContext doesn't have _baggage property
# Assemble the child ctx
ctx = SpanContext(span_id=self._generate_id())
if parent_ctx is not None:
> if parent_ctx._baggage is not None:
E AttributeError: 'SpanContext' object has no attribute '_baggage'
opentracing.mocktracer.SpanContext has _baggage property, but how can I use it in my business code?
The text was updated successfully, but these errors were encountered:
opentracing-python/opentracing/mocktracer/tracer.py
Line 162 in aef28a7
If I want to test with MockTracer, and in my business code it calls start_span with child_of parameter, an error will occur as original SpanContext doesn't have
_baggage
propertyopentracing.mocktracer.SpanContext has
_baggage
property, but how can I use it in my business code?The text was updated successfully, but these errors were encountered: