chestarss edited a comment on issue #4934:
URL: https://github.com/apache/skywalking/issues/4934#issuecomment-644702151


   I can use it after temporarily using this fix. I don’t know what the reason 
is that the _thread_local.context assignment in the code above the file did not 
take effect.
    skywalking/trace/context/__init__.py 
   ```python
   def get_context() -> SpanContext:
       try:
           tmp_context = _thread_local.context
       except:
           tmp_context = None
       _thread_local.context = tmp_context or (SpanContext() if 
agent.connected() else NoopContext())
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to