code: def run(cmd: code_writer_cmd, update_year: bool):
      i = 0
      for ext in ("py", "pyx", "pxd"):
          for file in sa_path.glob(f"**/*.{ext}"):
              run_file(cmd, file, update_year)
              i += 1
      cmd.write_status(f"\nDone. Processed {i} files.")
  
imports: from datetime import date
  from pathlib import Path
  import re
  from sqlalchemy.util.tool_support import code_writer_cmd
label_desc: Use image node_id 2 for calling a global function with example usage: run(cmd, update_year) without return types