code: def generate_requirement_file(name: str, req_list: list[str]) -> None:
      req_fname = repo_dir / "requirements" / f"{name}.txt"
      req_fname.write_text("\n".join(header + req_list) + "\n")
  
imports: import sys
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: generate_requirement_file(name, req_list) without return types