code: def make_headers(context: TraceContext) -> Headers:
      
      headers = {
          TRACE_ID_HEADER: context.trace_id,
          SPAN_ID_HEADER: context.span_id,
          FLAGS_HEADER: '0',
          SAMPLED_ID_HEADER: '1' if context.sampled else '0',
      }
      if context.parent_id is not None:
          headers[PARENT_ID_HEADER] = context.parent_id
      return headers
docs: Creates dict with zipkin headers from supplied trace context.