code: def _make_default(data: Any) -> Any:
      """Replaces RuntimeParameter by its ptype's default.
  
      Args:
        data: an object possibly containing RuntimeParameter.
  
      Returns:
        A version of input data where RuntimeParameters are replaced with
        the default values of their ptype.
      """
      if isinstance(data, dict):
          copy_data = copy.deepcopy(data)
          _put_default_dict(copy_data)
          return copy_data
      if isinstance(data, list):
          copy_data = copy.deepcopy(data)
          _put_default_list(copy_data)
          return copy_data
      if _is_runtime_param(data):
          ptype = data.ptype
          return ptype.__new__(ptype)
  
      return data
  
imports: import copy
  import inspect
  import itertools
  from typing import Any, Dict, List, Mapping, Optional, Type, cast
  from tfx.dsl.component.experimental.json_compat import check_strict_json_compat
  from tfx.dsl.placeholder import placeholder
  from tfx.types import artifact
  from tfx.types import channel
  from tfx.types.system_executions import SystemExecution
  from tfx.utils import json_utils
  from tfx.utils import proto_utils
  from google.protobuf import message
label_desc: Use image node_id 2 for calling a global function with example usage: _make_default(data) and returns: data, copy_data, copy_data, ptype