code: def get_docstring_summary(docstring: str) -> str:
      """Get the first lines of the documentation comment up to the empty lines."""
      if "\n\n" in docstring:
          return docstring.split("\n\n")[0]
      elif "@" in docstring:
          return docstring[
              : docstring.find("@")
          ]  # This usually is the start of a JavaDoc-style @param comment.
      return docstring
  
file_path: magicoder/experiments/extract_function_comment_pairs.py
imports: import os
  import json
  import argparse
  from tree_sitter import Language, Parser
  from pathlib import Path
  from treelib import Node, Tree
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: get_docstring_summary(docstring) and returns: docstring, docstring, docstring