code: def from_dummy(
      data_list: List[int],
      source: str,
      name: Optional[str] = None,
      digest: Optional[str] = None,
  ) -> DummyDataset:
      from mlflow.data.dataset_source_registry import (
          resolve_dataset_source,
      )
  
      resolved_source: DummyDatasetSource = resolve_dataset_source(
          source, candidate_sources=[DummyDatasetSource]
      )
      return DummyDataset(
          data_list=data_list,
          source=resolved_source,
          name=name,
          digest=digest,
      )
  
file_path: mlflow/tests/resources/mlflow-test-plugin/mlflow_test_plugin/dummy_dataset.py
imports: import json
  from typing import Any, Dict, List, Optional
  import numpy
  import pandas
  from mlflow.data.dataset import Dataset
  from mlflow.types import Schema
  from mlflow.types.utils import _infer_schema
  from mlflow_test_plugin.dummy_dataset_source import DummyDatasetSource
label_desc: Use image node_id 1 for calling a global function with example usage: from_dummy(data_list, source, name, digest) and returns: DummyDataset