code: def _resolve(cls, raw_source: Any) -> DatasetSource:
      return cls(raw_source)
  
file_path: mlflow/tests/resources/data/dataset_source.py
imports: from typing import Any, Dict
  from urllib.parse import urlparse
  from mlflow.artifacts import download_artifacts
  from mlflow.data.dataset_source import DatasetSource
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
label_desc: Use image node_id 6 for calling the TestDatasetSource obj's underlying member method code with example usage: obj._resolve(cls, raw_source) and returns: cls