class_docstr: Represents the source of a dataset stored in a spark table.
class_docstr_tok: ["Represents","the","source","of","a","dataset","stored","in","a","spark","table","."]
code: def _from_dict(
      cls, source_dict: Dict[Any, Any]
  ) -> "SparkDatasetSource":
      return cls(
          path=source_dict.get("path"),
          table_name=source_dict.get("table_name"),
          sql=source_dict.get("sql"),
      )
  
file_path: mlflow/mlflow/data/spark_dataset_source.py
imports: from typing import Any, Dict, Optional
  from mlflow.data.dataset_source import DatasetSource
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.utils.annotations import experimental
label_desc: Use image node_id 7 for calling the SparkDatasetSource obj's underlying member method code with example usage: obj._from_dict(cls, source_dict) and returns: cls