code: def _get_type_name(vtype, dump=None):
      """
      Return the name of the provided type.
  
          _get_type_name(int) == "integer"
          _get_type_name(str) == "string"
          _get_type_name(tuple) == "tuple"
          _get_type_name(Exception) == "Exception"
          _get_type_name(U(int, float, bool)) == "integer|float|bool"
          _get_type_name(U(H2OFrame, None)) == "?H2OFrame"
      """
      if vtype is None:
          return "None"
      if vtype is str:
          return "string"
      if vtype is int:
          return "integer"
      if vtype is numeric:
          return "numeric"
      if is_type(vtype, str):
          return '"%s"' % repr(vtype)[1:-1]
      if is_type(vtype, int):
          return str(vtype)
      if isinstance(vtype, MagicType):
          return vtype.name(dump)
      if isinstance(vtype, type):
          return vtype.__name__
      if isinstance(vtype, list):
          return "list(%s)" % _get_type_name(U(*vtype), dump)
      if isinstance(vtype, set):
          return "set(%s)" % _get_type_name(U(*vtype), dump)
      if isinstance(vtype, tuple):
          return "(%s)" % ", ".join(
              _get_type_name(item, dump) for item in vtype
          )
      if isinstance(vtype, dict):
          return "dict(%s)" % ", ".join(
              "%s: %s"
              % (_get_type_name(tk, dump), _get_type_name(tv, dump))
              for tk, tv in vtype.items()
          )
      if isinstance(vtype, (FunctionType, BuiltinFunctionType)):
          if vtype.__name__ == "<lambda>":
              return _get_lambda_source_code(vtype, dump)
          else:
              return vtype.__name__
      raise RuntimeError("Unexpected `vtype`: %r" % vtype)
  
imports: from h2o.utils.compatibility import *
  import importlib
  import io
  import re
  import sys
  import tokenize
  from types import BuiltinFunctionType, FunctionType
  from h2o.exceptions import H2OTypeError, H2OValueError
label_desc: Use image node_id 8 for calling a global function with example usage: _get_type_name(vtype, dump) and returns: str, str, str, str, unknown, str, vtype, vtype, unknown, unknown, unknown, unknown, _get_lambda_source_code, vtype