code: def _replace(self, **kwargs):
      args = self._asdict()
      args.update(kwargs)
      return type(self)(**args)
  
imports: from collections import OrderedDict
  from enum import Enum
  from typing import Dict, List, Union
label_desc: Use image node_id 3 for calling the ConfigBase obj's underlying member method code with example usage: obj._replace() and returns: type