code: def get_span_datas(self, span):
          
          span_datas = [
              span_data_module.SpanData(
                  name=ss.name,
                  context=self.span_context,
                  span_id=ss.span_id,
                  parent_span_id=ss.parent_span.span_id if
                  ss.parent_span else None,
                  attributes=ss.attributes,
                  start_time=ss.start_time,
                  end_time=ss.end_time,
                  child_span_count=len(ss.children),
                  stack_trace=ss.stack_trace,
                  time_events=ss.time_events,
                  links=ss.links,
                  status=ss.status,
                  same_process_as_parent_span=ss.same_process_as_parent_span,
                  span_kind=ss.span_kind
              )
              for ss in span
          ]
  
          return span_datas
docs: Extracts a list of SpanData tuples from a span
  
          :rtype: list of opencensus.trace.span_data.SpanData
          :return list of SpanData tuples