code: def new_config(self, config_id, config, config_info):
      if not config_id in self.config_ids:
          self.config_ids.add(config_id)
          with open(self.config_fn, "a") as fh:
              fh.write(json.dumps([config_id, config, config_info]))
              fh.write("\n")
  
imports: import copy
  import os
  import json
  from hpbandster.core.base_iteration import Datum
label_desc: Use image node_id 2 for calling the json_result_logger obj's underlying member method code with example usage: obj.new_config(config_id, config, config_info) without return types