code: def extract_carrier(carrier):
      from opentelemetry.trace.propagation.tracecontext import (
          TraceContextTextMapPropagator,
      )
  
      return TraceContextTextMapPropagator().extract(carrier)
  
imports: import functools
  import logging
  import os
  import time
  import typing
  from typing import List
  from opentelemetry import trace, context
label_desc: Use image node_id 6 for calling a global function with example usage: extract_carrier(carrier) and returns: TraceContextTextMapPropagator