code: def __init__(self) -> None:
      # lazy import to avoid comet logging
      try:
          import comet_ml
      except ImportError:
          comet_ml = None
  
      if comet_ml is None:
          raise ImportError(
              "CometLogger requires Comet. Install using `pip install comet_ml`"
          )
      super().__init__()
      self.run = None
  
file_path: pycaret/pycaret/loggers/comet_logger.py
imports: from copy import deepcopy
  from pathlib import Path
  import joblib
  from pycaret.loggers.base_logger import BaseLogger
label_desc: Use image node_id 1 to create a new CometLogger object from inherited base classes: BaseLogger with example: obj = CometLogger()