code: def generate_files(paths: List[PurePath]) -> None:
      for p in paths:
          output_path = p.parent / str(p).replace(
              GENERATE_SUFFIX, GENERATED_SUFFIX
          )
          print(f"INFO: Generating {output_path}...")
          generate_file(p, output_path)
  
file_path: wandb/tools/generate-tool.py
imports: import argparse
  import contextlib
  import filecmp
  import os
  import subprocess
  import tempfile
  from pathlib import Path, PurePath
  from typing import Iterator, List
label_desc: Use image node_id 3 for calling a global function with example usage: generate_files(paths) without return types