class_docstr: Represents the source of a Hugging Face dataset used in MLflow Tracking.
code: def _to_dict(self) -> Dict[Any, Any]:
      return {
          "path": self.path,
          "config_name": self.config_name,
          "data_dir": self.data_dir,
          "data_files": self.data_files,
          "split": str(self.split),
          "revision": self.revision,
      }
  
file_path: mlflow/mlflow/data/huggingface_dataset_source.py
imports: from typing import TYPE_CHECKING, Any, Dict, Mapping, Optional, Sequence, Union
  from mlflow.data.dataset_source import DatasetSource
  from mlflow.utils.annotations import experimental
label_desc: Use image node_id 6 for calling the HuggingFaceDatasetSource obj's underlying member method code with example usage: obj._to_dict() and returns: dict