code: def fmt_python_call(value):
      if value.get("is_var_args"):
          # Convert column inputs to their java equivalent, otherwise rely on built in conversions
          # between Python and Scala
          converter = ", _to_java_column" if not "type" in value else ""
          return f'_to_seq(sc(), {value["name"]}{converter})'
      if not "type" in value or value["type"] in ["lambda1", "lambda2"]:
          return f'_to_java_column({value["name"]})'
      return value["name"]
  
file_path: glow/python/render_template.py
imports: import argparse
  import jinja2
  import yaml
label_desc: Use image node_id 7 for calling a global function with example usage: fmt_python_call(value) and returns: value, str, value, converter, str, str, value, str