code: def __init__(self, task=None):
      # type: (Optional[Task]) -> ()
      super(ClearmlTunerLogger, self).__init__()
      self.task = task or Task.current_task()
      if not self.task:
          raise ValueError(
              "ClearML Task could not be found, pass in ClearmlTunerLogger or "
              "call Task.init before initializing ClearmlTunerLogger"
          )
      self._summary = pd.DataFrame() if pd else None
  
file_path: clearml/clearml/external/kerastuner.py
imports: from typing import Optional
  from ..task import Task
label_desc: Use image node_id 1 to create a new ClearmlTunerLogger object from inherited base classes: Logger with example: obj = ClearmlTunerLogger(task)