class_docstr: Local Searcher (virtual class to inherit from if you are creating a custom Searcher).
  
  Parameters
  ----------
  search_space: dict
      The configuration space to sample from. It contains the full
      specification of the Hyperparameters with their priors
code: def _pickle_config(self, config: dict) -> bytes:
      assert isinstance(
          config, dict
      ), f"config must be a dict! Was instead {type(config)} | Value: {config}"
      assert len(config) == len(self._params_order), (
          f"Config length does not match expected params count!\n"
          f"Expected: {self._params_order}\n"
          f"Actual:   {list(config.keys())}"
      )
  
      # Note: This code is commented out because it can be computationally and memory expensive if user sends large objects in search space, such as datasets.
      """
          for key in self._params_static:
              assert pickle.dumps(config[key]) == pickle.dumps(self._params_static[key]), \
                  f'Invalid config value for search space parameter "{key}" | Invalid Value: {config[key]} | Expected Value: {self._params_static[key]}'
          """
      config_to_pkl = []
      for key in self._params_order:
          if key in self._params_static:
              pass
          elif key in self._params_cat_dict:
              try:
                  cat_idx = self._params_cat_dict[key][
                      pickle.dumps(config[key])
                  ]
              except KeyError:
                  raise AssertionError(
                      f'Invalid config value for search space parameter "{key}" | '
                      f"Invalid Value: {config[key]} | Valid Values: {self.search_space[key].data}"
                  )
              config_to_pkl.append(cat_idx)
          else:
              config_to_pkl.append(config[key])
      return pickle.dumps(config_to_pkl)
  
imports: import logging
  import pickle
  from collections import OrderedDict
  from autogluon.common import space
label_desc: Use image node_id 16 for calling the LocalSearcher obj's underlying member method code with example usage: obj._pickle_config(config) and returns: pickle