code: def enum(*sequential, **named):
      enums = dict(zip(sequential, range(len(sequential))), **named)
      return type("Enum", (), enums)
  
file_path: nmslib/previous_releases_scripts/genplot.py
imports: import argparse
  import os
  import re
  import sys
  import itertools
  import re
  from subprocess import call
label_desc: Use image node_id 1 for calling a global function with example usage: enum() and returns: type