code: def get_authors(revision_range):
      lst_release, cur_release = [
          r.strip() for r in revision_range.split("..")
      ]
      authors_pat = r"^.*\t(.*)$"
  
      # authors and co-authors in current and previous releases.
      grp1 = "--group=author"
      grp2 = "--group=trailer:co-authored-by"
      cur = this_repo.git.shortlog("-s", grp1, grp2, revision_range)
      pre = this_repo.git.shortlog("-s", grp1, grp2, lst_release)
      authors_cur = set(re.findall(authors_pat, cur, re.M))
      authors_pre = set(re.findall(authors_pat, pre, re.M))
  
      # Ignore the bot Homu.
      authors_cur.discard("Homu")
      authors_pre.discard("Homu")
  
      # Ignore the bot dependabot-preview
      authors_cur.discard("dependabot-preview")
      authors_pre.discard("dependabot-preview")
  
      # Append '+' to new authors.
      authors_new = [s + " +" for s in authors_cur - authors_pre]
      authors_old = [s for s in authors_cur & authors_pre]
      authors = authors_new + authors_old
      authors.sort()
      return authors
  
file_path: numpy/tools/changelog.py
imports: import os
  import sys
  import re
  from git import Repo
  from github import Github
label_desc: Use image node_id 1 for calling a global function with example usage: get_authors(revision_range) and returns: authors