code: def inject_master_config(
      target_path: Path, content_path: Path, indent: int
  ) -> None:
      CONTENT_KEY = "MasterConfigTemplate"
      with content_path.open("r") as fin:
          context = {
              CONTENT_KEY: "".join(
                  _indent_line(line, indent)
                  for line in chain(["|\n"], fin)
              )
          }
      template_rewrite(target_path, context)
  
imports: import re
  from itertools import chain
  from pathlib import Path
  from typing import Dict
label_desc: Use image node_id 3 for calling a global function with example usage: inject_master_config(target_path, content_path, indent) without return types