code: def __init__(self, remote=None, repo=None) -> None:
      super().__init__()
      if dagshub is None:
          raise ImportError(
              "DagshubLogger requires dagshub. Install using `pip install dagshub`"
          )
  
      self.run = None
      self.remote = remote
      self.paths = {
          "dvc_directory": Path("artifacts"),
          "models": Path("models"),
          "raw_data": Path("data") / "raw",
          "processed_data": Path("data") / "processed",
      }
  
      if repo:
          self.repo_name, self.repo_owner = self.splitter(repo)
      elif self.remote and self.remote.startswith(
          "https://dagshub.com"
      ):
          self.repo_owner = (self.remote.split(os.sep)[-2],)
          self.repo_name = self.remote.split(os.sep)[-1].replace(
              ".mlflow", ""
          )
      else:
          self.repo_name, self.repo_owner = None, None
  
      self.__commit_data_type = []
  
file_path: pycaret/pycaret/loggers/dagshub_logger.py
imports: import os
  from pathlib import Path
  from pycaret.loggers.mlflow_logger import MlflowLogger
label_desc: Use image node_id 1 to create a new DagshubLogger object from inherited base classes: MlflowLogger with example: obj = DagshubLogger(remote, repo)