code: def inject(cls, span, obj):
          
          obj.metadata['__parent-span__'] = dict()
          cls.inject_span(span, obj.metadata['__parent-span__'])
docs: Injects the span context into a `carrier` object.
  
          :param opentracing.span.SpanContext span: the SpanContext instance
          :param Any obj: Object to use as context