code: def get_doc_default_value(param):
      ptype = param["type"]
      ptype = (
          "str" if ptype.startswith("enum") else ptype
      )  # for doc, default value is actually a str for enum types.
      return as_R_repr(ptype, param.get("default_value"))
  
file_path: h2o-3/h2o-bindings/bin/gen_R.py
imports: from collections import OrderedDict
  from copy import deepcopy
  from functools import partial
  import bindings
  from custom import get_customizations_for, reformat_block
label_desc: Use image node_id 6 for calling a global function with example usage: get_doc_default_value(param) and returns: as_R_repr