code: def render_template(template_path, output_path, **kwargs):
      env = jinja2.Environment(
          loader=jinja2.FileSystemLoader("/"),
          trim_blocks=True,
          lstrip_blocks=True,
      )
  
      env.filters["wrap"] = wrap
      env.filters["fmt_scala_signature"] = fmt_scala_signature
      env.filters["fmt_scala_call"] = fmt_scala_call
      env.filters["fmt_python_signature"] = fmt_python_signature
      env.filters["fmt_python_call"] = fmt_python_call
  
      template = env.get_template(template_path)
      if output_path is None:
          print(template.render(kwargs))
      else:
          template.stream(kwargs).dump(output_path)
  
file_path: glow/python/render_template.py
imports: import argparse
  import jinja2
  import yaml
label_desc: Use image node_id 10 for calling a global function with example usage: render_template(template_path, output_path) without return types