code: def _apply_type_flag_attr(param, attrs):
      if not param.type:
          return
      if _is_boolean_param(param):
          attrs["type"] = "boolean"
      elif _is_int_param(param):
          attrs["type"] = "int"
      elif _is_float_param(param):
          attrs["type"] = "float"
      elif _is_string_param(param):
          attrs["type"] = "string"
  
imports: import argparse
  import json
  import logging
  import os
  import subprocess
  import sys
  import click
  from guild import python_util
  from guild import util
  from .None import import_argparse_flags_main
  from .None import python_script
label_desc: Use image node_id 11 for calling a global function with example usage: _apply_type_flag_attr(param, attrs) without return types