original_docstring: Create spans for all tests and organize them as a tree mirroring the structure of a test suite.
docstring: Create spans for all tests and organize them as a tree mirroring the structure of a test suite.
docstring_tokens: Create spans for all tests and organize them as a tree mirroring the structure of a test suite .
code: def create_and_export_spans(node, service_name, trace_id, parent_id):
      """Create spans for all tests and organize them as a tree mirroring the structure of a test suite."""
      parent_span = Span.from_dict(node)
      parent_span.service_name = service_name
      parent_span_id = parent_span.push(trace_id, parent_id)
  
      for ch in node.get("children"):
          create_and_export_spans(ch, service_name, trace_id, parent_span_id)
code_tokens: def create_and_export_spans ( node , service_name , trace_id , parent_id ) : parent_span = Span . from_dict ( node ) parent_span . service_name = service_name parent_span_id = parent_span . push ( trace_id , parent_id ) for ch in node . get ( "children" ) : create_and_export_spans ( ch , service_name , trace_id , parent_span_id )
short_docstring: Create spans for all tests and organize them as a tree mirroring the structure of a test suite.
short_docstring_tokens: Create spans for all tests and organize them as a tree mirroring the structure of a test suite .
comment: """Create spans for all tests and organize them as a tree mirroring the structure of a test suite."""