code: def fetch_licenses(*info_dir, vendor_dir):
      for file in chain.from_iterable(map(iter_subtree, info_dir)):
          if "LICENSE" in file.name:
              library = file.parent.name.split("-")[0]
              shutil.copy(file, vendor_dir / ("%s.LICENSE" % library))
          else:
              continue
  
file_path: metaflow/metaflow/vendor.py
imports: import glob
  import shutil
  import subprocess
  import re
  from functools import partial
  from itertools import chain
  from pathlib import Path
label_desc: Use image node_id 5 for calling a global function with example usage: fetch_licenses() without return types