code: def __init__(self, logger_kwargs=None):
      super().__init__(logger_kwargs=logger_kwargs)
  
      self.experiment = Experiment(
          api_key=self.config["api_key"],
          project_name=self.config["project_name"],
          log_code=False,
          log_graph=False,
          auto_param_logging=False,
          auto_metric_logging=False,
          auto_output_logging=None,
          log_env_details=False,
          log_git_metadata=False,
      )
  
      if "reward_func" in self.config:
          self.experiment.set_code(
              inspect.getsource(self.config["reward_func"])
          )
  
imports: from serpent.logger import Logger
  from comet_ml import Experiment
  import inspect
label_desc: Use image node_id 1 to create a new CometMLLogger object from inherited base classes: Logger with example: obj = CometMLLogger(logger_kwargs)