code: def get_keywords():
      """Get the keywords needed to look up the version information."""
      # these strings will be replaced by git during git-archive.
      # setup.py/versioneer.py will grep for the variable names, so they must
      # each be defined on a line of their own. _version.py will just call
      # get_keywords().
      git_refnames = "$Format:%d$"
      git_full = "$Format:%H$"
      git_date = "$Format:%ci$"
      keywords = {
          "refnames": git_refnames,
          "full": git_full,
          "date": git_date,
      }
      return keywords
  
imports: import errno
  import os
  import re
  import subprocess
  import sys
  from typing import Callable, Dict
  import functools
label_desc: Use image node_id 1 for calling a global function with example usage: get_keywords() and returns: keywords